summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smp-cmp.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-09-24 17:34:47 +0200
committerRusty Russell <rusty@rustcorp.com.au>2009-09-24 02:04:48 +0200
commit4037ac6e2cb4e3148c25124b431eead4e704a4ff (patch)
treed903d818bd2484a57e081b4afdeb38aadaa2beb1 /arch/mips/kernel/smp-cmp.c
parentcpumask: Use accessors for cpu_*_mask: m32r (diff)
downloadlinux-4037ac6e2cb4e3148c25124b431eead4e704a4ff.tar.xz
linux-4037ac6e2cb4e3148c25124b431eead4e704a4ff.zip
cpumask: Use accessors for cpu_*_mask: mips
Use the accessors rather than frobbing bits directly (the new versions are const). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Mike Travis <travis@sgi.com>
Diffstat (limited to 'arch/mips/kernel/smp-cmp.c')
-rw-r--r--arch/mips/kernel/smp-cmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/smp-cmp.c b/arch/mips/kernel/smp-cmp.c
index e5cf5b88fc28..cc81771b882c 100644
--- a/arch/mips/kernel/smp-cmp.c
+++ b/arch/mips/kernel/smp-cmp.c
@@ -171,7 +171,7 @@ void __init cmp_smp_setup(void)
for (i = 1; i < NR_CPUS; i++) {
if (amon_cpu_avail(i)) {
- cpu_set(i, cpu_possible_map);
+ set_cpu_possible(i, true);
__cpu_number_map[i] = ++ncpu;
__cpu_logical_map[ncpu] = i;
}