]> asedeno.scripts.mit.edu Git - linux.git/commit
nds32: Add macro definition for offset of lp register on stack
authorZong Li <zong@andestech.com>
Mon, 20 Aug 2018 01:51:29 +0000 (09:51 +0800)
committerGreentime Hu <greentime@andestech.com>
Tue, 4 Sep 2018 06:45:19 +0000 (14:45 +0800)
commit95f93ed7fe92c16f5346e477491d91e4fa8e92b8
tree3d7c4ca31e12eb4e3ad3e369154102196e3bf081
parentc5fdf7e00d490dc094a97d287e0fa27e253cca84
nds32: Add macro definition for offset of lp register on stack

Use macro to replace the magic number.

Signed-off-by: Zong Li <zong@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/include/asm/nds32.h
arch/nds32/kernel/stacktrace.c
arch/nds32/kernel/traps.c