summaryrefslogtreecommitdiffstats
path: root/arch/csky/abiv2
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-05-24 14:14:11 +0200
committerGuo Ren <guoren@linux.alibaba.com>2020-05-28 02:18:36 +0200
commit20f69538b9ab7175e1474a73e2793b8278846e1e (patch)
treef16d01a2a87fd1047e9636b8097a7fb46293ec8c /arch/csky/abiv2
parentcsky: Fixup abiv2 syscall_trace break a4 & a5 (diff)
downloadlinux-20f69538b9ab7175e1474a73e2793b8278846e1e.tar.xz
linux-20f69538b9ab7175e1474a73e2793b8278846e1e.zip
csky: Coding convention in entry.S
There is no fixup or feature in the patch, we only cleanup with: - Remove unnecessary reg used (r11, r12), just use r9 & r10 & syscallid regs as temp useage. - Add _TIF_SYSCALL_WORK and _TIF_WORK_MASK to gather macros. Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky/abiv2')
-rw-r--r--arch/csky/abiv2/inc/abi/entry.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/csky/abiv2/inc/abi/entry.h b/arch/csky/abiv2/inc/abi/entry.h
index 6ee71bfc512a..4fdd6c12e7ff 100644
--- a/arch/csky/abiv2/inc/abi/entry.h
+++ b/arch/csky/abiv2/inc/abi/entry.h
@@ -302,9 +302,4 @@
jmpi 3f /* jump to va */
3:
.endm
-
-.macro ANDI_R3 rx, imm
- lsri \rx, 3
- andi \rx, (\imm >> 3)
-.endm
#endif /* __ASM_CSKY_ENTRY_H */