arm64: mte: optimize asynchronous tag check fault flag check
[linux-2.6-microblaze.git] / arch / arm64 / kernel / syscall.c
index e4c0dad..fe3fa8f 100644 (file)
@@ -123,7 +123,7 @@ static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr,
        local_daif_restore(DAIF_PROCCTX);
        user_exit();
 
-       if (system_supports_mte() && (flags & _TIF_MTE_ASYNC_FAULT)) {
+       if (flags & _TIF_MTE_ASYNC_FAULT) {
                /*
                 * Process the asynchronous tag check fault before the actual
                 * syscall. do_notify_resume() will send a signal to userspace