summaryrefslogtreecommitdiff
path: root/arch/xtensa/include
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-11-09 15:43:14 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2018-12-17 13:48:21 -0800
commit6a986984b63990c80252b2208036fe731a6ae113 (patch)
tree93928de818b2f3dd98d22bcb68da781d95c6d44b /arch/xtensa/include
parent98c3115a4ec56f03056efd9295e0fcb4c5c57a85 (diff)
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.h2
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>