summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2007-05-09 02:35:28 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-09 12:30:56 -0700
commitf6744c02bc50797c1a83f8303ebcc96673ca0524 (patch)
treeee30cf5efd9ff33ea2b6c9b33878d3de2a71cc02
parent0d7ebbbc6eaa5539f78ab20ed6ff1725a4e332ef (diff)
downloadop-kernel-dev-f6744c02bc50797c1a83f8303ebcc96673ca0524.zip
op-kernel-dev-f6744c02bc50797c1a83f8303ebcc96673ca0524.tar.gz
i386 pci: use __maybe_unused
Use the new macro here Cc: Andi Kleen <ak@suse.de> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/i386/pci/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/pci/init.c b/arch/i386/pci/init.c
index 1cf11af..3de9f9b 100644
--- a/arch/i386/pci/init.c
+++ b/arch/i386/pci/init.c
@@ -6,7 +6,7 @@
in the right sequence from here. */
static __init int pci_access_init(void)
{
- int type __attribute__((unused)) = 0;
+ int type __maybe_unused = 0;
#ifdef CONFIG_PCI_DIRECT
type = pci_direct_probe();
OpenPOWER on IntegriCloud