aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sh/kernel/cpu/sh4a/smp-shx3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/smp-shx3.c b/arch/sh/kernel/cpu/sh4a/smp-shx3.c
index 5c5d50ccbfc..dd245e68aa2 100644
--- a/arch/sh/kernel/cpu/sh4a/smp-shx3.c
+++ b/arch/sh/kernel/cpu/sh4a/smp-shx3.c
@@ -74,6 +74,9 @@ static void shx3_prepare_cpus(unsigned int max_cpus)
74 for (i = 0; i < SMP_MSG_NR; i++) 74 for (i = 0; i < SMP_MSG_NR; i++)
75 request_irq(104 + i, ipi_interrupt_handler, 75 request_irq(104 + i, ipi_interrupt_handler,
76 IRQF_DISABLED | IRQF_PERCPU, "IPI", (void *)(long)i); 76 IRQF_DISABLED | IRQF_PERCPU, "IPI", (void *)(long)i);
77
78 for (i = 0; i < max_cpus; i++)
79 set_cpu_present(i, true);
77} 80}
78 81
79static void shx3_start_cpu(unsigned int cpu, unsigned long entry_point) 82static void shx3_start_cpu(unsigned int cpu, unsigned long entry_point)