parisc: initialize unwinder much earlier
The unwinder was being initialized way too late to be any use debugging early boot crashes. Instead of relying on module_init initcalls to initialize it, let's do it explicitly as early as we can. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
This commit is contained in:
committed by
Kyle McMartin
parent
0be7d1fe43
commit
f0514ae323
@@ -44,6 +44,7 @@
|
||||
#include <asm/pdc_chassis.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/setup.h>
|
||||
#include <asm/unwind.h>
|
||||
|
||||
static char __initdata command_line[COMMAND_LINE_SIZE];
|
||||
|
||||
@@ -123,6 +124,7 @@ void __init setup_arch(char **cmdline_p)
|
||||
#ifdef CONFIG_64BIT
|
||||
extern int parisc_narrow_firmware;
|
||||
#endif
|
||||
unwind_init();
|
||||
|
||||
init_per_cpu(smp_processor_id()); /* Set Modes & Enable FP */
|
||||
|
||||
|
Reference in New Issue
Block a user