[PATCH] i386: irqbalance_disable() section fix
authorAndrew Morton <akpm@linux-foundation.org>
Sun, 8 Apr 2007 23:04:04 +0000 (16:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 9 Apr 2007 02:47:55 +0000 (19:47 -0700)
WARNING: arch/i386/kernel/built-in.o - Section mismatch: reference to .init.text:irqbalance_disable from .text between 'quirk_intel_irqbalance' (at offset 0x80a5) and 'i8237A_suspend'

Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/io_apic.c

index e4408ff4e6747224a77a66b5b2f21d02a7992a25..b3ab8ffebd27fc05ca5f96bbfe2b8bf419b32ca8 100644 (file)
@@ -736,7 +736,7 @@ failed:
        return 0;
 }
 
-int __init irqbalance_disable(char *str)
+int __devinit irqbalance_disable(char *str)
 {
        irqbalance_disabled = 1;
        return 1;