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>
This commit is contained in:
Thorsten Blum
2024-12-23 00:31:10 +01:00
committed by Tejun Heo
parent e197f5ec3a
commit bc3a116a44

View File

@@ -3376,9 +3376,9 @@ static void update_selcpu_topology(void)
rcu_read_unlock();
pr_debug("sched_ext: LLC idle selection %s\n",
enable_llc ? "enabled" : "disabled");
str_enabled_disabled(enable_llc));
pr_debug("sched_ext: NUMA idle selection %s\n",
enable_numa ? "enabled" : "disabled");
str_enabled_disabled(enable_numa));
if (enable_llc)
static_branch_enable_cpuslocked(&scx_selcpu_topo_llc);