summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/setup_32.c4
-rw-r--r--arch/powerpc/kernel/setup_64.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index 5457911..58674b6 100644
--- a/arch/powerpc/kernel/setup_32.c
+++ b/arch/powerpc/kernel/setup_32.c
@@ -281,11 +281,11 @@ void __init setup_arch(char **cmdline_p)
find_legacy_serial_ports();
- smp_setup_cpu_maps();
-
/* Register early console */
register_early_udbg_console();
+ smp_setup_cpu_maps();
+
xmon_setup();
if (ppc_md.panic)
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 61c3e6c4..3fd59bc 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -661,12 +661,13 @@ void __init setup_arch(char **cmdline_p)
*/
register_early_udbg_console();
+ smp_setup_cpu_maps();
+
/*
* Initialize xmon
*/
xmon_setup();
- smp_setup_cpu_maps();
check_smt_enabled();
setup_tlb_core_data();
OpenPOWER on IntegriCloud