summaryrefslogtreecommitdiff
path: root/arch/csky/abiv1/inc/abi/regdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/abiv1/inc/abi/regdef.h')
-rw-r--r--arch/csky/abiv1/inc/abi/regdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/csky/abiv1/inc/abi/regdef.h b/arch/csky/abiv1/inc/abi/regdef.h
index 729b1c3edcfd..104707fbdcc1 100644
--- a/arch/csky/abiv1/inc/abi/regdef.h
+++ b/arch/csky/abiv1/inc/abi/regdef.h
@@ -6,6 +6,7 @@
#define syscallid r1
#define regs_syscallid(regs) regs->regs[9]
+#define regs_fp(regs) regs->regs[2]
/*
* PSR format: