summaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
authorZong Li <zong@andestech.com>2018-08-13 13:28:23 +0800
committerGreentime Hu <greentime@andestech.com>2018-09-04 14:45:16 +0800
commitc17df7960534357fb74074c2f514c831d4a9cf5a (patch)
treea964b8b713c40a1aff39f68e4a57f80a8906f4db /arch/nds32
parent1944a50859ec2b570b42b459ac25d607fc7c31f0 (diff)
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.c2
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