Commit afc6ca01 authored by Rusty Russell's avatar Rusty Russell

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: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarMike Travis <travis@sgi.com>
parent 3e7be3fb
...@@ -98,9 +98,9 @@ void __devinit smp_prepare_boot_cpu(void) ...@@ -98,9 +98,9 @@ void __devinit smp_prepare_boot_cpu(void)
SUPP_BANK_SEL(2); SUPP_BANK_SEL(2);
SUPP_REG_WR(RW_MM_TLB_PGD, pgd); SUPP_REG_WR(RW_MM_TLB_PGD, pgd);
cpu_set(0, cpu_online_map); set_cpu_online(0, true);
cpu_set(0, phys_cpu_present_map); cpu_set(0, phys_cpu_present_map);
cpu_set(0, cpu_possible_map); set_cpu_possible(0, true);
} }
void __init smp_cpus_done(unsigned int max_cpus) void __init smp_cpus_done(unsigned int max_cpus)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment