aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-07-25 10:42:26 +0530
committerJaswinder Singh <jaswinder@infradead.org>2008-07-25 11:56:50 +0530
commite7f08dfdaa82def3d685d16fdb99203cbb67ec95 (patch)
tree7533cb90efcdaf574374bead5aa69177dfb0fbc3
parent4fe702c7e401f912c0edd294af6e37c02f451bbb (diff)
X86_SMP: smp.c declare functions before they get used
declared following smp interrupts in asm-x86/hw_irq.h: smp_reschedule_interrupt, smp_call_function_interrupt, smp_call_function_single_interrupt Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
-rw-r--r--include/asm-x86/hw_irq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86/hw_irq.h b/include/asm-x86/hw_irq.h
index 40b941ac81c..08900eb90a9 100644
--- a/include/asm-x86/hw_irq.h
+++ b/include/asm-x86/hw_irq.h
@@ -102,6 +102,11 @@ extern void smp_error_interrupt(struct pt_regs *);
extern asmlinkage void smp_spurious_interrupt(void);
extern asmlinkage void smp_error_interrupt(void);
#endif
+#ifdef CONFIG_X86_SMP
+extern void smp_reschedule_interrupt(struct pt_regs *);
+extern void smp_call_function_interrupt(struct pt_regs *);
+extern void smp_call_function_single_interrupt(struct pt_regs *);
+#endif
#ifdef CONFIG_X86_32
extern void (*const interrupt[NR_IRQS])(void);