aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sched_ext/hotplug.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2025-02-28 12:37:14 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2025-02-28 12:37:14 +0100
commitc432bdcf39d52cbba7487d4ebfcf735cee59481e (patch)
tree5235fe21993c9fb04cbada15ed940961068258c3 /tools/testing/selftests/sched_ext/hotplug.c
parentpmdomain: Merge branch rockchip into next (diff)
parentLinux 6.14-rc4 (diff)
downloadlinux-c432bdcf39d52cbba7487d4ebfcf735cee59481e.tar.gz
linux-c432bdcf39d52cbba7487d4ebfcf735cee59481e.zip
pmdomain: Merge tag 'v6.14-rc4' from Linus into next
Linux 6.14-rc4
Diffstat (limited to 'tools/testing/selftests/sched_ext/hotplug.c')
-rw-r--r--tools/testing/selftests/sched_ext/hotplug.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/testing/selftests/sched_ext/hotplug.c b/tools/testing/selftests/sched_ext/hotplug.c
index 87bf220b1bce..1c9ceb661c43 100644
--- a/tools/testing/selftests/sched_ext/hotplug.c
+++ b/tools/testing/selftests/sched_ext/hotplug.c
@@ -49,8 +49,10 @@ static enum scx_test_status test_hotplug(bool onlining, bool cbs_defined)
SCX_ASSERT(is_cpu_online());
- skel = hotplug__open_and_load();
- SCX_ASSERT(skel);
+ skel = hotplug__open();
+ SCX_FAIL_IF(!skel, "Failed to open");
+ SCX_ENUM_INIT(skel);
+ SCX_FAIL_IF(hotplug__load(skel), "Failed to load skel");
/* Testing the offline -> online path, so go offline before starting */
if (onlining)