diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2015-01-06 11:48:36 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-01-27 04:37:53 -0500 |
commit | e9fb8b7e4f6af17e3aa4835281e06fdc920341f9 (patch) | |
tree | a4507f123c4319ce23dfa82ec539daf799e801bd /include/linux | |
parent | 33b36543df336d9158e1a763fe97251885f52c5c (diff) |
compat: Declare compat_sys_sigpending and compat_sys_sigprocmask prototypes
__ARCH_WANT_SYS_SIGPENDING or __ARCH_WANT_SYS_SIGPROGMASK may be defined
for compat support but the corresponding prototypes are missing from
linux/compat.h.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/compat.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index 7450ca2ac1fc..ab25814690bc 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h | |||
@@ -689,6 +689,15 @@ asmlinkage long compat_sys_sendfile64(int out_fd, int in_fd, | |||
689 | asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, | 689 | asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, |
690 | compat_stack_t __user *uoss_ptr); | 690 | compat_stack_t __user *uoss_ptr); |
691 | 691 | ||
692 | #ifdef __ARCH_WANT_SYS_SIGPENDING | ||
693 | asmlinkage long compat_sys_sigpending(compat_old_sigset_t __user *set); | ||
694 | #endif | ||
695 | |||
696 | #ifdef __ARCH_WANT_SYS_SIGPROCMASK | ||
697 | asmlinkage long compat_sys_sigprocmask(int how, compat_old_sigset_t __user *nset, | ||
698 | compat_old_sigset_t __user *oset); | ||
699 | #endif | ||
700 | |||
692 | int compat_restore_altstack(const compat_stack_t __user *uss); | 701 | int compat_restore_altstack(const compat_stack_t __user *uss); |
693 | int __compat_save_altstack(compat_stack_t __user *, unsigned long); | 702 | int __compat_save_altstack(compat_stack_t __user *, unsigned long); |
694 | #define compat_save_altstack_ex(uss, sp) do { \ | 703 | #define compat_save_altstack_ex(uss, sp) do { \ |