|
@@ -150,6 +150,7 @@ static void vsmp_send_ipi_mask(const struct cpumask *mask, unsigned int action)
|
|
|
|
|
|
static void __cpuinit vsmp_init_secondary(void)
|
|
|
{
|
|
|
+#ifdef CONFIG_IRQ_GIC
|
|
|
extern int gic_present;
|
|
|
|
|
|
/* This is Malta specific: IPI,performance and timer interrupts */
|
|
@@ -157,6 +158,7 @@ static void __cpuinit vsmp_init_secondary(void)
|
|
|
change_c0_status(ST0_IM, STATUSF_IP3 | STATUSF_IP4 |
|
|
|
STATUSF_IP6 | STATUSF_IP7);
|
|
|
else
|
|
|
+#endif
|
|
|
change_c0_status(ST0_IM, STATUSF_IP0 | STATUSF_IP1 |
|
|
|
STATUSF_IP6 | STATUSF_IP7);
|
|
|
}
|