Commit bc3a116a authored by Thorsten Blum's avatar Thorsten Blum Committed by Tejun Heo
Browse files

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: default avatarThorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent e197f5ec
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);