commit | 2236d252e001ea57d53cec1954f680e503f3b8bc | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ftp.linux.org.uk> | Sat Nov 22 17:37:34 2008 +0000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sun Nov 30 10:03:37 2008 -0800 |
tree | 0970ed5fcd3b126d8d96003700dbd1f75457a9b1 | |
parent | ad04d31e5fb6b25308e6cdea6baa07d41871a3e0 [diff] [blame] |
enable_IR_x2apic() needs to be __init calls __init, called only from __init Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index 04a7f96..16f9487 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c
@@ -1315,7 +1315,7 @@ } } -void enable_IR_x2apic(void) +void __init enable_IR_x2apic(void) { #ifdef CONFIG_INTR_REMAP int ret;