projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e377ae
)
nds32: Remove the deprecated ABI implementation
author
Zong Li
<
[email protected]
>
Mon, 20 Aug 2018 01:40:08 +0000
(09:40 +0800)
committer
Greentime Hu
<
[email protected]
>
Tue, 4 Sep 2018 06:45:19 +0000
(14:45 +0800)
We are not using NDS32 ABI 2 for now, just remove the preprocessor
directives __NDS32_ABI_2.
Signed-off-by: Zong Li <
[email protected]
>
Acked-by: Greentime Hu <
[email protected]
>
Signed-off-by: Greentime Hu <
[email protected]
>
arch/nds32/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/nds32/kernel/traps.c
b/arch/nds32/kernel/traps.c
index 7684c8f597edabdfa258adc7bb58705420e3a1ab..f432310f3d02e7cf5c9f707bde1c2c7e63da110b 100644
(file)
--- a/
arch/nds32/kernel/traps.c
+++ b/
arch/nds32/kernel/traps.c
@@
-117,13
+117,8
@@
static void __dump(struct task_struct *tsk, unsigned long *base_reg)
!((unsigned long)base_reg & 0x3) &&
((unsigned long)base_reg >= TASK_SIZE)) {
unsigned long next_fp;
-#if !defined(__NDS32_ABI_2)
- ret_addr = base_reg[0];
- next_fp = base_reg[1];
-#else
ret_addr = base_reg[-1];
next_fp = base_reg[FP_OFFSET];
-#endif
if (__kernel_text_address(ret_addr)) {
ret_addr = ftrace_graph_ret_addr(