projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea0f1ca
)
cpumask: Use accessors for cpu_*_mask: um
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 24 Sep 2009 15:34:48 +0000
(09:34 -0600)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 24 Sep 2009 00:04:49 +0000
(09:34 +0930)
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>
arch/um/kernel/smp.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/smp.c
b/arch/um/kernel/smp.c
index 98351c78bc814de7062dc5e9c213810ee4811de5..106bf27e2a9a5fc96abf5056bfbe070a6e4f709f 100644
(file)
--- a/
arch/um/kernel/smp.c
+++ b/
arch/um/kernel/smp.c
@@
-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);