Commit 9b658f6f authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: cleanup, remove extra ifdef

also change two functions to static.
Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 3c1326f8
......@@ -164,7 +164,7 @@ void __init init_ISA_irqs(void)
void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));
void __init smp_intr_init(void)
static void __init smp_intr_init(void)
{
#ifdef CONFIG_SMP
/*
......@@ -195,11 +195,9 @@ void __init smp_intr_init(void)
#endif
}
void __init apic_intr_init(void)
static void __init apic_intr_init(void)
{
#ifdef CONFIG_SMP
smp_intr_init();
#endif
alloc_intr_gate(THERMAL_APIC_VECTOR, thermal_interrupt);
alloc_intr_gate(THRESHOLD_APIC_VECTOR, threshold_interrupt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment