diff options
author | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-23 07:43:14 -0400 |
---|---|---|
committer | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-23 07:43:14 -0400 |
commit | 2b97df06ce44b1d145bd1299f50765803c2fabee (patch) | |
tree | 3d8af16a7139111662358d0383ef59e6df9453ba | |
parent | 1e84911c6c37fd1080ef07039e19c346628b31db (diff) |
x86: apic_XX.c declare functions before they get used
declared following smp interrupts in asm-x86/hw_irq.h:
smp_apic_timer_interrupt, smp_spurious_interrupt, smp_error_interrupt
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
-rw-r--r-- | include/asm-x86/apic.h | 5 | ||||
-rw-r--r-- | include/asm-x86/hw_irq.h | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-x86/apic.h b/include/asm-x86/apic.h index 133c998161ca..519ad65708e7 100644 --- a/include/asm-x86/apic.h +++ b/include/asm-x86/apic.h | |||
@@ -54,6 +54,11 @@ extern int disable_apic; | |||
54 | #endif | 54 | #endif |
55 | 55 | ||
56 | extern int is_vsmp_box(void); | 56 | extern int is_vsmp_box(void); |
57 | extern void xapic_wait_icr_idle(void); | ||
58 | extern u32 safe_xapic_wait_icr_idle(void); | ||
59 | extern u64 xapic_icr_read(void); | ||
60 | extern void xapic_icr_write(u32, u32); | ||
61 | extern int setup_profiling_timer(unsigned int); | ||
57 | 62 | ||
58 | static inline void native_apic_write(unsigned long reg, u32 v) | 63 | static inline void native_apic_write(unsigned long reg, u32 v) |
59 | { | 64 | { |
diff --git a/include/asm-x86/hw_irq.h b/include/asm-x86/hw_irq.h index 77ba51df5668..40b941ac81ca 100644 --- a/include/asm-x86/hw_irq.h +++ b/include/asm-x86/hw_irq.h | |||
@@ -93,6 +93,16 @@ extern asmlinkage void qic_reschedule_interrupt(void); | |||
93 | extern asmlinkage void qic_enable_irq_interrupt(void); | 93 | extern asmlinkage void qic_enable_irq_interrupt(void); |
94 | extern asmlinkage void qic_call_function_interrupt(void); | 94 | extern asmlinkage void qic_call_function_interrupt(void); |
95 | 95 | ||
96 | /* SMP */ | ||
97 | extern void smp_apic_timer_interrupt(struct pt_regs *); | ||
98 | #ifdef CONFIG_X86_32 | ||
99 | extern void smp_spurious_interrupt(struct pt_regs *); | ||
100 | extern void smp_error_interrupt(struct pt_regs *); | ||
101 | #else | ||
102 | extern asmlinkage void smp_spurious_interrupt(void); | ||
103 | extern asmlinkage void smp_error_interrupt(void); | ||
104 | #endif | ||
105 | |||
96 | #ifdef CONFIG_X86_32 | 106 | #ifdef CONFIG_X86_32 |
97 | extern void (*const interrupt[NR_IRQS])(void); | 107 | extern void (*const interrupt[NR_IRQS])(void); |
98 | #else | 108 | #else |