projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2a5a46
)
[SPARC64]: Must run smp_setup_cpu_possible_map() after paging_init()
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 22 Jun 2006 07:49:15 +0000
(
00:49
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sat, 24 Jun 2006 06:15:23 +0000
(23:15 -0700)
Otherwise the in-kernel PROM device tree isn't built yet,
and therefore the present cpu bits don't get set properly.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/setup.c
b/arch/sparc64/kernel/setup.c
index
9cf1c88
..
a6a7d81
100644
(file)
--- a/
arch/sparc64/kernel/setup.c
+++ b/
arch/sparc64/kernel/setup.c
@@
-376,12
+376,12
@@
void __init setup_arch(char **cmdline_p)
}
#endif
- smp_setup_cpu_possible_map();
-
/* Get boot processor trap_block[] setup. */
init_cur_cpu_trap(current_thread_info());
paging_init();
+
+ smp_setup_cpu_possible_map();
}
static int __init set_preferred_console(void)