summaryrefslogtreecommitdiffstats
path: root/arch/csky/abiv1/inc/abi
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-05-24 12:14:11 +0000
committerGuo Ren <guoren@linux.alibaba.com>2020-05-28 00:18:36 +0000
commit20f69538b9ab7175e1474a73e2793b8278846e1e (patch)
treef16d01a2a87fd1047e9636b8097a7fb46293ec8c /arch/csky/abiv1/inc/abi
parente0bbb53843b5fdfe464b099217e3b9d97e8a75d7 (diff)
downloadlinux-stable-20f69538b9ab7175e1474a73e2793b8278846e1e.tar.gz
linux-stable-20f69538b9ab7175e1474a73e2793b8278846e1e.tar.bz2
linux-stable-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/abiv1/inc/abi')
-rw-r--r--arch/csky/abiv1/inc/abi/entry.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/csky/abiv1/inc/abi/entry.h b/arch/csky/abiv1/inc/abi/entry.h
index b3559db0c8a8..13c23e2c707c 100644
--- a/arch/csky/abiv1/inc/abi/entry.h
+++ b/arch/csky/abiv1/inc/abi/entry.h
@@ -174,9 +174,4 @@
movi r6, 0
cpwcr r6, cpcr31
.endm
-
-.macro ANDI_R3 rx, imm
- lsri \rx, 3
- andi \rx, (\imm >> 3)
-.endm
#endif /* __ASM_CSKY_ENTRY_H */