diff options
Diffstat (limited to 'arch/xtensa/include/uapi')
-rw-r--r-- | arch/xtensa/include/uapi/asm/signal.h | 11 | ||||
-rw-r--r-- | arch/xtensa/include/uapi/asm/unistd.h | 7 |
2 files changed, 7 insertions, 11 deletions
diff --git a/arch/xtensa/include/uapi/asm/signal.h b/arch/xtensa/include/uapi/asm/signal.h index dacf716dd3e0..586756ee267a 100644 --- a/arch/xtensa/include/uapi/asm/signal.h +++ b/arch/xtensa/include/uapi/asm/signal.h | |||
@@ -102,16 +102,7 @@ typedef struct { | |||
102 | 102 | ||
103 | #ifndef __ASSEMBLY__ | 103 | #ifndef __ASSEMBLY__ |
104 | 104 | ||
105 | #define SIG_BLOCK 0 /* for blocking signals */ | 105 | #include <asm-generic/signal-defs.h> |
106 | #define SIG_UNBLOCK 1 /* for unblocking signals */ | ||
107 | #define SIG_SETMASK 2 /* for setting the signal mask */ | ||
108 | |||
109 | /* Type of a signal handler. */ | ||
110 | typedef void (*__sighandler_t)(int); | ||
111 | |||
112 | #define SIG_DFL ((__sighandler_t)0) /* default signal handling */ | ||
113 | #define SIG_IGN ((__sighandler_t)1) /* ignore signal */ | ||
114 | #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ | ||
115 | 106 | ||
116 | #ifndef __KERNEL__ | 107 | #ifndef __KERNEL__ |
117 | 108 | ||
diff --git a/arch/xtensa/include/uapi/asm/unistd.h b/arch/xtensa/include/uapi/asm/unistd.h index 19fac3f543a2..51940fec6990 100644 --- a/arch/xtensa/include/uapi/asm/unistd.h +++ b/arch/xtensa/include/uapi/asm/unistd.h | |||
@@ -728,8 +728,13 @@ __SYSCALL(330, sys_prlimit64, 4) | |||
728 | #define __NR_kcmp 331 | 728 | #define __NR_kcmp 331 |
729 | __SYSCALL(331, sys_kcmp, 5) | 729 | __SYSCALL(331, sys_kcmp, 5) |
730 | 730 | ||
731 | #define __NR_finit_module 332 | ||
732 | __SYSCALL(332, sys_finit_module, 3) | ||
731 | 733 | ||
732 | #define __NR_syscall_count 332 | 734 | #define __NR_accept4 333 |
735 | __SYSCALL(333, sys_accept4, 4) | ||
736 | |||
737 | #define __NR_syscall_count 334 | ||
733 | 738 | ||
734 | /* | 739 | /* |
735 | * sysxtensa syscall handler | 740 | * sysxtensa syscall handler |