arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault
[linux-2.6-microblaze.git] / arch / arm64 / lib / copy_in_user.S
index 0bedae3..8e0355c 100644 (file)
@@ -68,5 +68,6 @@ EXPORT_SYMBOL(__arch_copy_in_user)
        .section .fixup,"ax"
        .align  2
 9998:  sub     x0, end, dst                    // bytes not copied
+       uaccess_disable_not_uao x3, x4
        ret
        .previous