diff options
author | Jaswinder Singh Rajput <jaswinder@kernel.org> | 2009-02-01 11:37:39 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-01 11:41:52 -0500 |
commit | 15081c61362618a0c81cc8d04e45e7427bc1ed71 (patch) | |
tree | 1f1dc8b519b6baaf2ad3ef8c54d6eff037d0fafa /arch/x86/kernel/irqinit_32.c | |
parent | 65d370862f64973611a271ced61864b5f9bb6fc0 (diff) |
x86: irqinit_32.c fix compilation warning
Fix:
arch/x86/kernel/irqinit_32.c:124: warning: 'smp_intr_init' defined but not used
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/irqinit_32.c')
-rw-r--r-- | arch/x86/kernel/irqinit_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/irqinit_32.c b/arch/x86/kernel/irqinit_32.c index ddf3eb72f864..520e6c1c5d22 100644 --- a/arch/x86/kernel/irqinit_32.c +++ b/arch/x86/kernel/irqinit_32.c | |||
@@ -154,9 +154,9 @@ static void __init smp_intr_init(void) | |||
154 | 154 | ||
155 | static void __init apic_intr_init(void) | 155 | static void __init apic_intr_init(void) |
156 | { | 156 | { |
157 | #ifdef CONFIG_X86_LOCAL_APIC | ||
158 | smp_intr_init(); | 157 | smp_intr_init(); |
159 | 158 | ||
159 | #ifdef CONFIG_X86_LOCAL_APIC | ||
160 | /* self generated IPI for local APIC timer */ | 160 | /* self generated IPI for local APIC timer */ |
161 | alloc_intr_gate(LOCAL_TIMER_VECTOR, apic_timer_interrupt); | 161 | alloc_intr_gate(LOCAL_TIMER_VECTOR, apic_timer_interrupt); |
162 | 162 | ||