mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
cpumask: Use accessors for cpu_*_mask: um
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
ea0f1cab6e
commit
a6a01063de
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ void smp_prepare_cpus(unsigned int maxcpus)
|
|||
int i;
|
||||
|
||||
for (i = 0; i < ncpus; ++i)
|
||||
cpu_set(i, cpu_possible_map);
|
||||
set_cpu_possible(i, true);
|
||||
|
||||
cpu_clear(me, cpu_online_map);
|
||||
cpu_set(me, cpu_online_map);
|
||||
|
|
Loading…
Reference in a new issue