diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-11-10 02:43:14 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-12-18 00:48:21 +0300 |
commit | 6a986984b63990c80252b2208036fe731a6ae113 (patch) | |
tree | 93928de818b2f3dd98d22bcb68da781d95c6d44b /arch/xtensa/include | |
parent | 98c3115a4ec56f03056efd9295e0fcb4c5c57a85 (diff) | |
download | linux-6a986984b63990c80252b2208036fe731a6ae113.tar.xz |
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/include')
-rw-r--r-- | arch/xtensa/include/asm/ptrace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/ptrace.h b/arch/xtensa/include/asm/ptrace.h index 3a5c5918aea3..f1b1de526d1d 100644 --- a/arch/xtensa/include/asm/ptrace.h +++ b/arch/xtensa/include/asm/ptrace.h @@ -39,6 +39,8 @@ * +-----------------------+ -------- */ +#define NO_SYSCALL (-1) + #ifndef __ASSEMBLY__ #include <asm/coprocessor.h> |