Skip to content

Commit

Permalink
selftests/sched_ext: Build fix
Browse files Browse the repository at this point in the history
__COMPAT_SCX_OPS_SWITCH_PARTIAL is no more. Use SCX_OPS_SWITCH_PARTIAL
instead.

(cherry picked from commit 9cd61b5803e426fe199b03124eb72dd147be414d)
  • Loading branch information
htejun authored and Byte-Lab committed Jun 21, 2024
1 parent 1b94fc1 commit 96926f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/sched_ext/init_enable_count.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ open_load_prog(bool global)
SCX_BUG_ON(!skel, "Failed to open skel");

if (!global)
skel->struct_ops.init_enable_count_ops->flags |= __COMPAT_SCX_OPS_SWITCH_PARTIAL;
skel->struct_ops.init_enable_count_ops->flags |= SCX_OPS_SWITCH_PARTIAL;

SCX_BUG_ON(init_enable_count__load(skel), "Failed to load skel");

Expand Down

0 comments on commit 96926f8

Please sign in to comment.