summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smp-mt.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-09-24 09:34:47 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-09-24 09:34:48 +0930
commit4037ac6e2cb4e3148c25124b431eead4e704a4ff (patch)
treed903d818bd2484a57e081b4afdeb38aadaa2beb1 /arch/mips/kernel/smp-mt.c
parent2377afdde16a50b72e0b7ddb96d6b905f73754e2 (diff)
downloadblackbird-op-linux-4037ac6e2cb4e3148c25124b431eead4e704a4ff.tar.gz
blackbird-op-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-mt.c')
-rw-r--r--arch/mips/kernel/smp-mt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/smp-mt.c b/arch/mips/kernel/smp-mt.c
index 9538ca42e008..43e7cdc5ded2 100644
--- a/arch/mips/kernel/smp-mt.c
+++ b/arch/mips/kernel/smp-mt.c
@@ -70,7 +70,7 @@ static unsigned int __init smvp_vpe_init(unsigned int tc, unsigned int mvpconf0,
write_vpe_c0_vpeconf0(tmp);
/* Record this as available CPU */
- cpu_set(tc, cpu_possible_map);
+ set_cpu_possible(tc, true);
__cpu_number_map[tc] = ++ncpu;
__cpu_logical_map[ncpu] = tc;
}
OpenPOWER on IntegriCloud