mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-19 20:59:11 +08: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user