Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992721AbXEBE2q (ORCPT ); Wed, 2 May 2007 00:28:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S2992726AbXEBE2p (ORCPT ); Wed, 2 May 2007 00:28:45 -0400 Received: from smtp-out.google.com ([216.239.45.13]:24879 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2992721AbXEBE2j (ORCPT ); Wed, 2 May 2007 00:28:39 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=received:date:from:x-x-sender:to:cc:subject:in-reply-to: message-id:references:mime-version:content-type; b=ria7X/KVXfPL/Y0VvOxKqhECsaBgZ5aJxNtVNw+RdIKyxWqTPw5mLDHKeX9uM1YFC T1gYeVVkW+GdJ7UU5REFQ== Date: Tue, 1 May 2007 21:28:30 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Andrew Morton cc: James Bottomley , linux-kernel@vger.kernel.org Subject: [patch 06/10] i386: voyager: use __attribute_unused__ In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1139 Lines: 28 Replace automatic variable instances of __attribute__((unused)) with __attribute_unused__ in mca_nmi_hook(). Cc: James Bottomley Signed-off-by: David Rientjes --- arch/i386/mach-voyager/voyager_basic.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/i386/mach-voyager/voyager_basic.c b/arch/i386/mach-voyager/voyager_basic.c --- a/arch/i386/mach-voyager/voyager_basic.c +++ b/arch/i386/mach-voyager/voyager_basic.c @@ -292,8 +292,8 @@ machine_emergency_restart(void) void mca_nmi_hook(void) { - __u8 dumpval __attribute__((unused)) = inb(0xf823); - __u8 swnmi __attribute__((unused)) = inb(0xf813); + __u8 dumpval __attribute_unused__ = inb(0xf823); + __u8 swnmi __attribute_unused__ = inb(0xf813); /* FIXME: assume dump switch pressed */ /* check to see if the dump switch was pressed */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/