Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=affd872ebbe4f045d70a3f4b33b20f5f6c894bcc
Commit:     affd872ebbe4f045d70a3f4b33b20f5f6c894bcc
Parent:     d16aaffa752c7fd50df951e631dd0c11f80d9cbf
Author:     David Rientjes <[EMAIL PROTECTED]>
AuthorDate: Wed May 9 02:35:29 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed May 9 12:30:57 2007 -0700

    i386: voyager: use __maybe_unused
    
    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 |    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
index 8fe7e45..9b77b39 100644
--- 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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to