git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
043df59
)
[SPARC64]: Make cpu_present_map available earlier.
author
David S. Miller
<davem@sunset.davemloft.net>
Sat, 25 Feb 2006 21:39:56 +0000
(13:39 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 27 Feb 2006 03:36:00 +0000
(19:36 -0800)
The change to kernel/sched.c's init code to use for_each_cpu()
requires that the cpu_possible_map be setup much earlier.
Set it up via setup_arch(), constrained to NR_CPUS, and later
constrain it to max_cpus in smp_prepare_cpus().
This fixes SMP booting on sparc64.
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found