projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bfb4b2
)
[Blackfin] arch: In the double fault handler, set up the PT_RETI slot
author
Bernd Schmidt
<bernds_cb1@t-online.de>
Wed, 7 May 2008 03:41:26 +0000
(11:41 +0800)
committer
Bryan Wu
<cooloney@kernel.org>
Wed, 7 May 2008 03:41:26 +0000
(11:41 +0800)
In the double fault handler, set up the PT_RETI slot so that
we print out the correct return address in the dumping code.
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-common/entry.S
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-common/entry.S
b/arch/blackfin/mach-common/entry.S
index f2fb87e9a46e29edfb5f04f2190ff337717e35da..7365a17a6a81560e97ffb54f6ce39eba2f04dff4 100644
(file)
--- a/
arch/blackfin/mach-common/entry.S
+++ b/
arch/blackfin/mach-common/entry.S
@@
-295,6
+295,11
@@
ENTRY(_double_fault)
*/
SAVE_ALL_SYS
+ /* The dumping functions expect the return address in the RETI
+ * slot. */
+ r6 = retx;
+ [sp + PT_PC] = r6;
+
r0 = sp; /* stack frame pt_regs pointer argument ==> r0 */
SP += -12;
call _double_fault_c;