]> git.baikalelectronics.ru Git - kernel.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)
commit6f0640d8938a677073de69a3815019fb5567023e
tree3d7c4ca31e12eb4e3ad3e369154102196e3bf081
parent02fbbf28bbedd2d4e8f11000ce7902479b730bc4
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