[PATCH] powerpc: Make early xmon logic immune to location of early parsing
Currently early_xmon() calls directly into debugger() if xmon=early is passed. This ties the invocation of early xmon to the location of parse_early_param(), which might change. Tested on P5 LPAR and F50. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
9dabbfbab3
commit
480f6f35a1
@@ -419,6 +419,9 @@ void __init setup_system(void)
|
||||
|
||||
parse_early_param();
|
||||
|
||||
if (do_early_xmon)
|
||||
debugger(NULL);
|
||||
|
||||
check_smt_enabled();
|
||||
smp_setup_cpu_maps();
|
||||
|
||||
|
Reference in New Issue
Block a user