aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-hs/platsmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-hs/platsmp.c')
-rw-r--r--arch/arm/mach-hs/platsmp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-hs/platsmp.c b/arch/arm/mach-hs/platsmp.c
index a76a3cca22e7..6a086307abbf 100644
--- a/arch/arm/mach-hs/platsmp.c
+++ b/arch/arm/mach-hs/platsmp.c
@@ -32,6 +32,7 @@ static void __init hs_smp_prepare_cpus(unsigned int max_cpus)
static int hs_boot_secondary(unsigned int cpu, struct task_struct *idle)
{
+ hs_set_cpu(cpu, true);
hs_set_cpu_jump(cpu, secondary_startup);
arch_send_wakeup_ipi_mask(cpumask_of(cpu));
return 0;
@@ -40,4 +41,8 @@ static int hs_boot_secondary(unsigned int cpu, struct task_struct *idle)
struct smp_operations hs_smp_ops __initdata = {
.smp_prepare_cpus = hs_smp_prepare_cpus,
.smp_boot_secondary = hs_boot_secondary,
+#ifdef CONFIG_HOTPLUG_CPU
+ .cpu_die = hs_cpu_die,
+ .cpu_kill = hs_cpu_kill,
+#endif
};