diff options
author | Peter Zijlstra | 2021-02-24 11:15:23 +0100 |
---|---|---|
committer | Ingo Molnar | 2021-03-06 12:40:21 +0100 |
commit | 58b1a45086b5f80f2b2842aa7ed0da51a64a302b (patch) | |
tree | 763139498bda05d3827770839028f5acce5a0c67 /init/do_mounts_initrd.c | |
parent | c20cf065d4a619d394d23290093b1002e27dff86 (diff) |
sched: Collate affine_move_task() stoppers
The SCA_MIGRATE_ENABLE and task_running() cases are almost identical,
collapse them to avoid further duplication.
Fixes: 6d337eab041d ("sched: Fix migrate_disable() vs set_cpus_allowed_ptr()")
Cc: stable@kernel.org
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Link: https://lkml.kernel.org/r/20210224131355.500108964@infradead.org
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions