Skip to content

Commit

Permalink
x86, voyager: fix smp_intr_init() compile breakage
Browse files Browse the repository at this point in the history
Impact: fix x86/Voyager build

Looks like this became static on the rest of x86.  Fix it up by adding
an external definition to mach-voyager/setup.c

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
James Bottomley authored and Ingo Molnar committed Nov 3, 2008
1 parent 45beca0 commit 73557af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions arch/x86/include/asm/voyager.h
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ extern void voyager_restart(void);
extern void voyager_cat_power_off(void);
extern void voyager_cat_do_common_interrupt(void);
extern void voyager_handle_nmi(void);
extern void voyager_smp_intr_init(void);
/* Commands for the following are */
#define VOYAGER_PSI_READ 0
#define VOYAGER_PSI_WRITE 1
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/mach-voyager/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static struct irqaction irq2 = {
void __init intr_init_hook(void)
{
#ifdef CONFIG_SMP
smp_intr_init();
voyager_smp_intr_init();
#endif

setup_irq(2, &irq2);
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/mach-voyager/voyager_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ static void handle_vic_irq(unsigned int irq, struct irq_desc *desc)
#define QIC_SET_GATE(cpi, vector) \
set_intr_gate((cpi) + QIC_DEFAULT_CPI_BASE, (vector))

void __init smp_intr_init(void)
void __init voyager_smp_intr_init(void)
{
int i;

Expand Down

0 comments on commit 73557af

Please sign in to comment.