summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/smp.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-04-26 09:39:50 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2010-04-26 09:39:50 (GMT)
commitf0ccf2770f523bd4fc436886a38e499f9ec95c0e (patch)
tree61a1ca3ba00b4908e43b7aa4ced9b827e96a067d /arch/sh/kernel/smp.c
parentc9f4a3f53b5d61f86eae3512abdf948878ca3498 (diff)
downloadlinux-f0ccf2770f523bd4fc436886a38e499f9ec95c0e.tar.xz
sh: convert online CPU map twiddling to cpumask.
This converts from cpu_set() for the online map to set_cpu_online(). The two online map modifiers were the last remaining manual map manipulation bits, with this in place everything now goes through cpumask. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/smp.c')
-rw-r--r--arch/sh/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c
index 2f348fd..cc87830 100644
--- a/arch/sh/kernel/smp.c
+++ b/arch/sh/kernel/smp.c
@@ -102,7 +102,7 @@ asmlinkage void __cpuinit start_secondary(void)
smp_store_cpu_info(cpu);
- cpu_set(cpu, cpu_online_map);
+ set_cpu_online(cpu, true);
cpu_idle();
}