Browse Source

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>
Al Viro 16 years ago
parent
commit
2236d252e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x86/kernel/apic.c

+ 1 - 1
arch/x86/kernel/apic.c

@@ -1315,7 +1315,7 @@ void enable_x2apic(void)
 	}
 }
 
-void enable_IR_x2apic(void)
+void __init enable_IR_x2apic(void)
 {
 #ifdef CONFIG_INTR_REMAP
 	int ret;