diff options
author | Zong Li <zong@andestech.com> | 2018-08-20 09:51:29 +0800 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-09-04 14:45:19 +0800 |
commit | 95f93ed7fe92c16f5346e477491d91e4fa8e92b8 (patch) | |
tree | 3d7c4ca31e12eb4e3ad3e369154102196e3bf081 /arch/nds32/include/asm/nds32.h | |
parent | c5fdf7e00d490dc094a97d287e0fa27e253cca84 (diff) | |
download | linux-95f93ed7fe92c16f5346e477491d91e4fa8e92b8.tar.gz linux-95f93ed7fe92c16f5346e477491d91e4fa8e92b8.tar.bz2 linux-95f93ed7fe92c16f5346e477491d91e4fa8e92b8.zip |
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>
Diffstat (limited to 'arch/nds32/include/asm/nds32.h')
-rw-r--r-- | arch/nds32/include/asm/nds32.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nds32/include/asm/nds32.h b/arch/nds32/include/asm/nds32.h index 19b19394a936..68c38151c3e4 100644 --- a/arch/nds32/include/asm/nds32.h +++ b/arch/nds32/include/asm/nds32.h @@ -17,6 +17,7 @@ #else #define FP_OFFSET (-2) #endif +#define LP_OFFSET (-1) extern void __init early_trap_init(void); static inline void GIE_ENABLE(void) |