OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0748bd0
)
cpumask: Use accessors for cpu_*_mask: m32r
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 24 Sep 2009 15:34:47 +0000
(09:34 -0600)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 24 Sep 2009 00:04:47 +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/m32r/kernel/smpboot.c
patch
|
blob
|
history
diff --git
a/arch/m32r/kernel/smpboot.c
b/arch/m32r/kernel/smpboot.c
index
655ea1c
..
e034844
100644
(file)
--- a/
arch/m32r/kernel/smpboot.c
+++ b/
arch/m32r/kernel/smpboot.c
@@
-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);