summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2006-08-25 00:46:02 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-08-26 17:52:51 -0700
commita23b423ec0573ead85e2c92f2a5df5d4bf47e26b (patch)
treed25bb838298a97ed74930ce85ad8c65566817b85 /arch/sparc
parent94918ff68a7c78fdd3241d13e18444ef80b8ff4a (diff)
downloadop-kernel-dev-a23b423ec0573ead85e2c92f2a5df5d4bf47e26b.zip
op-kernel-dev-a23b423ec0573ead85e2c92f2a5df5d4bf47e26b.tar.gz
[SPARC]: enabling of the 2nd CPU in 2.6.18-rc4
smp_setup_cpu_possible_map() needs to run after paging_init() so that the in-kernel device tree is setup. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c
index 35488d6..0251cab 100644
--- a/arch/sparc/kernel/setup.c
+++ b/arch/sparc/kernel/setup.c
@@ -348,9 +348,9 @@ void __init setup_arch(char **cmdline_p)
init_mm.context = (unsigned long) NO_CONTEXT;
init_task.thread.kregs = &fake_swapper_regs;
- smp_setup_cpu_possible_map();
-
paging_init();
+
+ smp_setup_cpu_possible_map();
}
static int __init set_preferred_console(void)
OpenPOWER on IntegriCloud