Skip to contentSkip to conversation

enable_IR_x2apic() needs to be __init

PATCH Applied Al Viro 1 participant 1 message Nov 22, 2008 x86

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 26/32 enable_IR_x2apic() needs to be __init

calls __init, called only from __init

---
 arch/x86/kernel/apic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/apic.c +1 -1
@@ -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;