diff options
Diffstat (limited to 'arch/mips/kernel/smp-mt.c')
-rw-r--r-- | arch/mips/kernel/smp-mt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/smp-mt.c b/arch/mips/kernel/smp-mt.c index ff17868734cf..2defa2bbdaa7 100644 --- a/arch/mips/kernel/smp-mt.c +++ b/arch/mips/kernel/smp-mt.c | |||
@@ -150,6 +150,7 @@ static void vsmp_send_ipi_mask(const struct cpumask *mask, unsigned int action) | |||
150 | 150 | ||
151 | static void __cpuinit vsmp_init_secondary(void) | 151 | static void __cpuinit vsmp_init_secondary(void) |
152 | { | 152 | { |
153 | #ifdef CONFIG_IRQ_GIC | ||
153 | extern int gic_present; | 154 | extern int gic_present; |
154 | 155 | ||
155 | /* This is Malta specific: IPI,performance and timer interrupts */ | 156 | /* This is Malta specific: IPI,performance and timer interrupts */ |
@@ -157,6 +158,7 @@ static void __cpuinit vsmp_init_secondary(void) | |||
157 | change_c0_status(ST0_IM, STATUSF_IP3 | STATUSF_IP4 | | 158 | change_c0_status(ST0_IM, STATUSF_IP3 | STATUSF_IP4 | |
158 | STATUSF_IP6 | STATUSF_IP7); | 159 | STATUSF_IP6 | STATUSF_IP7); |
159 | else | 160 | else |
161 | #endif | ||
160 | change_c0_status(ST0_IM, STATUSF_IP0 | STATUSF_IP1 | | 162 | change_c0_status(ST0_IM, STATUSF_IP0 | STATUSF_IP1 | |
161 | STATUSF_IP6 | STATUSF_IP7); | 163 | STATUSF_IP6 | STATUSF_IP7); |
162 | } | 164 | } |