diff options
Diffstat (limited to 'arch/blackfin/mach-common/smp.c')
-rw-r--r-- | arch/blackfin/mach-common/smp.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/arch/blackfin/mach-common/smp.c b/arch/blackfin/mach-common/smp.c index 35e7e1eb0188..1c143a4de5f5 100644 --- a/arch/blackfin/mach-common/smp.c +++ b/arch/blackfin/mach-common/smp.c | |||
@@ -45,9 +45,7 @@ struct corelock_slot corelock __attribute__ ((__section__(".l2.bss"))); | |||
45 | unsigned long blackfin_iflush_l1_entry[NR_CPUS]; | 45 | unsigned long blackfin_iflush_l1_entry[NR_CPUS]; |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | void __cpuinitdata *init_retx_coreb, *init_saved_retx_coreb, | 48 | struct blackfin_initial_pda __cpuinitdata initial_pda_coreb; |
49 | *init_saved_seqstat_coreb, *init_saved_icplb_fault_addr_coreb, | ||
50 | *init_saved_dcplb_fault_addr_coreb; | ||
51 | 49 | ||
52 | #define BFIN_IPI_RESCHEDULE 0 | 50 | #define BFIN_IPI_RESCHEDULE 0 |
53 | #define BFIN_IPI_CALL_FUNC 1 | 51 | #define BFIN_IPI_CALL_FUNC 1 |
@@ -369,13 +367,16 @@ void __cpuinit secondary_start_kernel(void) | |||
369 | if (_bfin_swrst & SWRST_DBL_FAULT_B) { | 367 | if (_bfin_swrst & SWRST_DBL_FAULT_B) { |
370 | printk(KERN_EMERG "CoreB Recovering from DOUBLE FAULT event\n"); | 368 | printk(KERN_EMERG "CoreB Recovering from DOUBLE FAULT event\n"); |
371 | #ifdef CONFIG_DEBUG_DOUBLEFAULT | 369 | #ifdef CONFIG_DEBUG_DOUBLEFAULT |
372 | printk(KERN_EMERG " While handling exception (EXCAUSE = 0x%x) at %pF\n", | 370 | printk(KERN_EMERG " While handling exception (EXCAUSE = %#x) at %pF\n", |
373 | (int)init_saved_seqstat_coreb & SEQSTAT_EXCAUSE, init_saved_retx_coreb); | 371 | initial_pda_coreb.seqstat_doublefault & SEQSTAT_EXCAUSE, |
374 | printk(KERN_NOTICE " DCPLB_FAULT_ADDR: %pF\n", init_saved_dcplb_fault_addr_coreb); | 372 | initial_pda_coreb.retx_doublefault); |
375 | printk(KERN_NOTICE " ICPLB_FAULT_ADDR: %pF\n", init_saved_icplb_fault_addr_coreb); | 373 | printk(KERN_NOTICE " DCPLB_FAULT_ADDR: %pF\n", |
374 | initial_pda_coreb.dcplb_doublefault_addr); | ||
375 | printk(KERN_NOTICE " ICPLB_FAULT_ADDR: %pF\n", | ||
376 | initial_pda_coreb.icplb_doublefault_addr); | ||
376 | #endif | 377 | #endif |
377 | printk(KERN_NOTICE " The instruction at %pF caused a double exception\n", | 378 | printk(KERN_NOTICE " The instruction at %pF caused a double exception\n", |
378 | init_retx_coreb); | 379 | initial_pda_coreb.retx); |
379 | } | 380 | } |
380 | 381 | ||
381 | /* | 382 | /* |