summaryrefslogtreecommitdiff
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 17:20:11 +0300
commit9771c4acf407bcdfbe3c418c18a8cf3700a3923b (patch)
tree0f0c94604897459f7c6e0b985b6c091a6bca3f67
parentaffec13bd171a5d15389392fb90f98f0d0ec89b3 (diff)
ARM64:ILP32: work around the compilation error due to mainline changestracking-ilp32-ll-20150311.0tracking-ilp32-ll-20150308.1
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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c
index ab0a2a18fc6d..a6b6a4079f84 100644
--- a/arch/arm64/kernel/signal.c
+++ b/arch/arm64/kernel/signal.c
@@ -35,7 +35,6 @@
#include <asm/fpsimd.h>
#include <asm/signal32.h>
#include <asm/vdso.h>
-#include <asm/syscalls.h>
/*
* Do a signal return; undo the signal stack. These are aligned to 128-bit.
@@ -128,6 +127,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;