Merge tag 'iio-for-5.11a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23...
[linux-2.6-microblaze.git] / security / yama / yama_lsm.c
index 536c996..06e2261 100644 (file)
@@ -99,7 +99,7 @@ static void report_access(const char *access, struct task_struct *target,
        info->access = access;
        info->target = target;
        info->agent = agent;
-       if (task_work_add(current, &info->work, true) == 0)
+       if (task_work_add(current, &info->work, TWA_RESUME) == 0)
                return; /* success */
 
        WARN(1, "report_access called from exiting task");