projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d7ebbb
)
i386 pci: use __maybe_unused
author
David Rientjes
<rientjes@google.com>
Wed, 9 May 2007 09:35:28 +0000
(
02:35
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:56 +0000
(12:30 -0700)
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>
arch/i386/pci/init.c
patch
|
blob
|
history
diff --git
a/arch/i386/pci/init.c
b/arch/i386/pci/init.c
index
1cf11af
..
3de9f9b
100644
(file)
--- 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();