diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-11-10 00:43:14 +0100 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-12-17 22:48:21 +0100 |
commit | 6a986984b63990c80252b2208036fe731a6ae113 (patch) | |
tree | 93928de818b2f3dd98d22bcb68da781d95c6d44b /arch/xtensa/kernel/entry.S | |
parent | xtensa: define syscall_get_arch() (diff) | |
download | linux-6a986984b63990c80252b2208036fe731a6ae113.tar.xz linux-6a986984b63990c80252b2208036fe731a6ae113.zip |
xtensa: use NO_SYSCALL instead of -1
For the sake of clarity define macro NO_SYSCALL and use it for
setting/checking struct pt_regs::syscall field.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel/entry.S')
-rw-r--r-- | arch/xtensa/kernel/entry.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S index 48d36b4d27b8..e41c1e1ccecb 100644 --- a/arch/xtensa/kernel/entry.S +++ b/arch/xtensa/kernel/entry.S @@ -364,7 +364,7 @@ common_exception: s32i a2, a1, PT_DEBUGCAUSE s32i a3, a1, PT_PC - movi a2, -1 + movi a2, NO_SYSCALL rsr a3, excvaddr s32i a2, a1, PT_SYSCALL movi a2, 0 |