mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
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:
parent
e197f5ec3a
commit
bc3a116a44
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user