Skip to content
Snippets Groups Projects
Commit 46db29a2 authored by Andrea Righi's avatar Andrea Righi Committed by Greg Kroah-Hartman
Browse files

sched_ext: selftests/dsp_local_on: Fix selftest on UP systems


commit 3c7d51b0 upstream.

In UP systems p->migration_disabled is not available. Fix this by using
the portable helper is_migration_disabled(p).

Fixes: e9fe1827 ("sched_ext: selftests/dsp_local_on: Fix sporadic failures")
Signed-off-by: default avatarAndrea Righi <arighi@nvidia.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9d9d87e4
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment