arm64: Rework valid_user_regs
[deliverable/linux.git] / arch / arm64 / kernel / signal32.c
index 71ef6dc89ae509cd299eab3f1959ffe4e8f96a33..107335637390ef3e15546ca442fc9fd8117a2cfb 100644 (file)
@@ -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)
This page took 0.02501 seconds and 5 git commands to generate.