Skip to content

Commit

Permalink
x86: apic_XX.c declare functions before they get used
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jaswinder Singh committed Jul 23, 2008
1 parent 1e84911 commit 2b97df0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/asm-x86/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ extern int disable_apic;
#endif

extern int is_vsmp_box(void);
extern void xapic_wait_icr_idle(void);
extern u32 safe_xapic_wait_icr_idle(void);
extern u64 xapic_icr_read(void);
extern void xapic_icr_write(u32, u32);
extern int setup_profiling_timer(unsigned int);

static inline void native_apic_write(unsigned long reg, u32 v)
{
Expand Down
10 changes: 10 additions & 0 deletions include/asm-x86/hw_irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ extern asmlinkage void qic_reschedule_interrupt(void);
extern asmlinkage void qic_enable_irq_interrupt(void);
extern asmlinkage void qic_call_function_interrupt(void);

/* SMP */
extern void smp_apic_timer_interrupt(struct pt_regs *);
#ifdef CONFIG_X86_32
extern void smp_spurious_interrupt(struct pt_regs *);
extern void smp_error_interrupt(struct pt_regs *);
#else
extern asmlinkage void smp_spurious_interrupt(void);
extern asmlinkage void smp_error_interrupt(void);
#endif

#ifdef CONFIG_X86_32
extern void (*const interrupt[NR_IRQS])(void);
#else
Expand Down

0 comments on commit 2b97df0

Please sign in to comment.