mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
cpumask: Use accessors for cpu_*_mask: m32r
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>
This commit is contained in:
parent
0748bd0177
commit
2377afdde1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue