aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2015-03-08 16:33:38 +0300
committerAndrey Konovalov <andrey.konovalov@linaro.org>2015-03-08 16:33:38 +0300
commit85275397d29a3b2ac9ce1f37598435f04845e602 (patch)
tree1440ebfafaee3938a6d5930c480c938e3fd46470
parentaffec13bd171a5d15389392fb90f98f0d0ec89b3 (diff)
ARM64:ILP32: work around the compilation error due to mainline changestracking-ilp32-ll-20150308.0
Commit 9648606 "arm64: Remove asm/syscalls.h" removed the header file which the patch "ARM64:ILP32: Fix signal return for ILP32 when the user modified the signal stack" was using. Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
-rw-r--r--arch/arm64/kernel/signal.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c
index ab0a2a18fc6d..46b40bccf2ed 100644
--- a/arch/arm64/kernel/signal.c
+++ b/arch/arm64/kernel/signal.c
@@ -128,6 +128,12 @@ static int restore_sigframe(struct pt_regs *regs,
return err;
}
+#ifdef CONFIG_ARM64_ILP32
+extern long ilp32_sys_sigaltstack(const stack_t __user *uss_ptr,
+ stack_t __user *uoss_ptr);
+#endif
+
+
asmlinkage long sys_rt_sigreturn(struct pt_regs *regs)
{
struct rt_sigframe __user *frame;