diff options
author | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-25 01:12:26 -0400 |
---|---|---|
committer | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-25 02:26:50 -0400 |
commit | e7f08dfdaa82def3d685d16fdb99203cbb67ec95 (patch) | |
tree | 7533cb90efcdaf574374bead5aa69177dfb0fbc3 | |
parent | 4fe702c7e401f912c0edd294af6e37c02f451bbb (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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86/hw_irq.h b/include/asm-x86/hw_irq.h index 40b941ac81ca..08900eb90a91 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 *); | |||
102 | extern asmlinkage void smp_spurious_interrupt(void); | 102 | extern asmlinkage void smp_spurious_interrupt(void); |
103 | extern asmlinkage void smp_error_interrupt(void); | 103 | extern asmlinkage void smp_error_interrupt(void); |
104 | #endif | 104 | #endif |
105 | #ifdef CONFIG_X86_SMP | ||
106 | extern void smp_reschedule_interrupt(struct pt_regs *); | ||
107 | extern void smp_call_function_interrupt(struct pt_regs *); | ||
108 | extern void smp_call_function_single_interrupt(struct pt_regs *); | ||
109 | #endif | ||
105 | 110 | ||
106 | #ifdef CONFIG_X86_32 | 111 | #ifdef CONFIG_X86_32 |
107 | extern void (*const interrupt[NR_IRQS])(void); | 112 | extern void (*const interrupt[NR_IRQS])(void); |