sched_ext: Use str_enabled_disabled() helper in update_selcpu_topology()
PATCH 1/1 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 <[email protected]>
--- kernel/sched/ext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/sched/ext.c +2 -2
@@ -3312,9 +3312,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);
Signature · 1 line
2.47.1
Tejun Heo
AppliedQuoted 4 lines · Thorsten Blum
Remove hard-coded strings by using the
str_enabled_disabled()helper function.Signed-off-by Thorsten Blum <[email protected]>
Applied to sched_ext/for-6.14.
Thanks.
Signature · 1 line
tejun