Skip to content

Commit bc3a116

Browse files
tobluxhtejun
authored andcommitted
sched_ext: Use str_enabled_disabled() helper in update_selcpu_topology()
Remove hard-coded strings by using the str_enabled_disabled() helper function. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent e197f5e commit bc3a116

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/sched/ext.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3376,9 +3376,9 @@ static void update_selcpu_topology(void)
33763376
rcu_read_unlock();
33773377

33783378
pr_debug("sched_ext: LLC idle selection %s\n",
3379-
enable_llc ? "enabled" : "disabled");
3379+
str_enabled_disabled(enable_llc));
33803380
pr_debug("sched_ext: NUMA idle selection %s\n",
3381-
enable_numa ? "enabled" : "disabled");
3381+
str_enabled_disabled(enable_numa));
33823382

33833383
if (enable_llc)
33843384
static_branch_enable_cpuslocked(&scx_selcpu_topo_llc);

0 commit comments

Comments
 (0)