summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/syscalls.h')
-rw-r--r--include/asm-generic/syscalls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/syscalls.h b/include/asm-generic/syscalls.h
index 58f466f..1db51b8 100644
--- a/include/asm-generic/syscalls.h
+++ b/include/asm-generic/syscalls.h
@@ -21,10 +21,12 @@ asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
unsigned long fd, off_t pgoff);
#endif
+#ifndef CONFIG_GENERIC_SIGALTSTACK
#ifndef sys_sigaltstack
asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *,
struct pt_regs *);
#endif
+#endif
#ifndef sys_rt_sigreturn
asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
OpenPOWER on IntegriCloud