Skip to content

Commit

Permalink
cpumask: Use accessors for cpu_*_mask: um
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 <[email protected]>
Signed-off-by: Mike Travis <[email protected]>
  • Loading branch information
rustyrussell committed Sep 24, 2009
1 parent ea0f1ca commit a6a0106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/um/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a6a0106

Please sign in to comment.