]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - arch/arm64/kernel/signal.c
Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[thirdparty/linux.git] / arch / arm64 / kernel / signal.c
index 0df8cc295ea511cd6fb3d910a64ecd3d934aeda8..0e8beb3349ea2a1aae6340f879f78dd568e04f51 100644 (file)
@@ -475,7 +475,7 @@ static int restore_za_context(struct user_ctxs *user)
        fpsimd_flush_task_state(current);
        /* From now, fpsimd_thread_switch() won't touch thread.sve_state */
 
-       sme_alloc(current);
+       sme_alloc(current, true);
        if (!current->thread.sme_state) {
                current->thread.svcr &= ~SVCR_ZA_MASK;
                clear_thread_flag(TIF_SME);