Skip to content

Commit

Permalink
cpumask: Use accessors for cpu_*_mask: m32r
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rusty Russell committed Sep 24, 2009
1 parent 0748bd0 commit 2377afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m32r/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
for (phys_id = 0 ; phys_id < nr_cpu ; phys_id++)
physid_set(phys_id, phys_cpu_present_map);
#ifndef CONFIG_HOTPLUG_CPU
cpu_present_map = cpu_possible_map;
init_cpu_present(&cpu_possible_map);
#endif

show_mp_info(nr_cpu);
Expand Down

0 comments on commit 2377afd

Please sign in to comment.