summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm64/kernel/signal32.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm64/kernel/signal32.c')
-rw-r--r--kernel/arch/arm64/kernel/signal32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/arm64/kernel/signal32.c b/kernel/arch/arm64/kernel/signal32.c
index 71ef6dc89..107335637 100644
--- a/kernel/arch/arm64/kernel/signal32.c
+++ b/kernel/arch/arm64/kernel/signal32.c
@@ -356,7 +356,7 @@ static int compat_restore_sigframe(struct pt_regs *regs,
*/
regs->syscallno = ~0UL;
- err |= !valid_user_regs(&regs->user_regs);
+ err |= !valid_user_regs(&regs->user_regs, current);
aux = (struct compat_aux_sigframe __user *) sf->uc.uc_regspace;
if (err == 0)