projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d16aaff
)
i386: voyager: use __maybe_unused
author
David Rientjes
<
[email protected]
>
Wed, 9 May 2007 09:35:29 +0000
(
02:35
-0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 9 May 2007 19:30:57 +0000
(12:30 -0700)
Replace automatic variable instances of __attribute__((unused)) with
__maybe_unused in mca_nmi_hook().
Cc: James Bottomley <
[email protected]
>
Signed-off-by: David Rientjes <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/i386/mach-voyager/voyager_basic.c
patch
|
blob
|
history
diff --git
a/arch/i386/mach-voyager/voyager_basic.c
b/arch/i386/mach-voyager/voyager_basic.c
index 8fe7e4593d5fe7aca75b81d35bbb70863427bcb2..9b77b39b71a6dde7a2f4e17aa39af680a13e27ff 100644
(file)
--- 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 __
maybe_unused
= inb(0xf823);
+ __u8 swnmi __
maybe_unused
= inb(0xf813);
/* FIXME: assume dump switch pressed */
/* check to see if the dump switch was pressed */