x86-64: Set siginfo and context on vsyscall emulation faults
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / x86 / mm / extable.c
index d0474ad..1fb85db 100644 (file)
@@ -25,7 +25,7 @@ int fixup_exception(struct pt_regs *regs)
        if (fixup) {
                /* If fixup is less than 16, it means uaccess error */
                if (fixup->fixup < 16) {
-                       current_thread_info()->uaccess_err = -EFAULT;
+                       current_thread_info()->uaccess_err = 1;
                        regs->ip += fixup->fixup;
                        return 1;
                }