enable_IR_x2apic() needs to be __init
PATCH 26/32 enable_IR_x2apic() needs to be __init
calls __init, called only from __init
Signed-off-by Al Viro <[email protected]>
--- 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;