diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-15 23:41:47 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-15 23:41:47 -0400 |
commit | afc6ca01f6da831ff09f4dabdef3b50f114e9e1e (patch) | |
tree | 2d4d9fb1656852650d220714e27041920af3531d | |
parent | 3e7be3fb40296aab48a91ec599f22d2c5e8a4351 (diff) |
cpumask: Use accessors code.: cris
Impact: use new API
Use the accessors rather than frobbing bits directly. Most of this is
in arch code I haven't even compiled, but is straightforward.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
-rw-r--r-- | arch/cris/arch-v32/kernel/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/cris/arch-v32/kernel/smp.c b/arch/cris/arch-v32/kernel/smp.c index 9dac17334640..b47764c3308f 100644 --- a/arch/cris/arch-v32/kernel/smp.c +++ b/arch/cris/arch-v32/kernel/smp.c | |||
@@ -98,9 +98,9 @@ void __devinit smp_prepare_boot_cpu(void) | |||
98 | SUPP_BANK_SEL(2); | 98 | SUPP_BANK_SEL(2); |
99 | SUPP_REG_WR(RW_MM_TLB_PGD, pgd); | 99 | SUPP_REG_WR(RW_MM_TLB_PGD, pgd); |
100 | 100 | ||
101 | cpu_set(0, cpu_online_map); | 101 | set_cpu_online(0, true); |
102 | cpu_set(0, phys_cpu_present_map); | 102 | cpu_set(0, phys_cpu_present_map); |
103 | cpu_set(0, cpu_possible_map); | 103 | set_cpu_possible(0, true); |
104 | } | 104 | } |
105 | 105 | ||
106 | void __init smp_cpus_done(unsigned int max_cpus) | 106 | void __init smp_cpus_done(unsigned int max_cpus) |