It makes more sense to do it before intializing xmon() as xmon might
use the info in there. We do want to register the console early
though in case we want some functioning printk's in the cpu map setup.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
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)
*/
register_early_udbg_console();
+ smp_setup_cpu_maps();
+
/*
* Initialize xmon
*/
xmon_setup();
- smp_setup_cpu_maps();
check_smt_enabled();
setup_tlb_core_data();