diff options
author | Zong Li <zong@andestech.com> | 2018-08-13 07:28:23 +0200 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-09-04 08:45:16 +0200 |
commit | c17df7960534357fb74074c2f514c831d4a9cf5a (patch) | |
tree | a964b8b713c40a1aff39f68e4a57f80a8906f4db /arch/nds32 | |
parent | nds32: add NULL entry to the end of_device_id array (diff) | |
download | linux-c17df7960534357fb74074c2f514c831d4a9cf5a.tar.xz linux-c17df7960534357fb74074c2f514c831d4a9cf5a.zip |
nds32: Fix empty call trace
The compiler predefined macro 'NDS32_ABI_2' had been removed, it should
use the '__NDS32_ABI_2' here.
Signed-off-by: Zong Li <zong@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch/nds32')
-rw-r--r-- | arch/nds32/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/kernel/traps.c b/arch/nds32/kernel/traps.c index a6205fd4db52..f0e974347c26 100644 --- a/arch/nds32/kernel/traps.c +++ b/arch/nds32/kernel/traps.c @@ -137,7 +137,7 @@ 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) +#if !defined(__NDS32_ABI_2) ret_addr = base_reg[0]; next_fp = base_reg[1]; #else |