diff options
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r-- | arch/blackfin/mach-common/entry.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index f2fb87e9a46e..7365a17a6a81 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S | |||
@@ -295,6 +295,11 @@ ENTRY(_double_fault) | |||
295 | */ | 295 | */ |
296 | SAVE_ALL_SYS | 296 | SAVE_ALL_SYS |
297 | 297 | ||
298 | /* The dumping functions expect the return address in the RETI | ||
299 | * slot. */ | ||
300 | r6 = retx; | ||
301 | [sp + PT_PC] = r6; | ||
302 | |||
298 | r0 = sp; /* stack frame pt_regs pointer argument ==> r0 */ | 303 | r0 = sp; /* stack frame pt_regs pointer argument ==> r0 */ |
299 | SP += -12; | 304 | SP += -12; |
300 | call _double_fault_c; | 305 | call _double_fault_c; |