]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: selftests/dsp_local_on: Fix selftest on UP systems
authorAndrea Righi <arighi@nvidia.com>
Sat, 25 Jan 2025 09:36:07 +0000 (10:36 +0100)
committerTejun Heo <tj@kernel.org>
Mon, 27 Jan 2025 19:00:09 +0000 (09:00 -1000)
commit3c7d51b0d29954c40ea3a097e0ec7884b4344331
treef2f95aaf5a3540af1234b478c4d5f5353183bdc7
parent5f52bbf2f6e0997394cf9c449d44e1c80ff4282c
sched_ext: selftests/dsp_local_on: Fix selftest on UP systems

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

Fixes: e9fe182772dc ("sched_ext: selftests/dsp_local_on: Fix sporadic failures")
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/sched_ext/dsp_local_on.bpf.c