Skip to content
Commit 5fca5a4c authored by Xuewen Yan's avatar Xuewen Yan Committed by Ingo Molnar
Browse files

sched/uclamp: Use the uclamp_is_used() helper instead of open-coding it



Don't open-code static_branch_unlikely(&sched_uclamp_used), we have
the uclamp_is_used() wrapper around it.

[ mingo: Clean up the changelog ]

Signed-off-by: default avatarXuewen Yan <xuewen.yan@unisoc.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: Hongyan Xia's avatarHongyan Xia <hongyan.xia2@arm.com>
Reviewed-by: Christian Loehle's avatarChristian Loehle <christian.loehle@arm.com>
Reviewed-by: Vincent Guittot's avatarVincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20250219093747.2612-1-xuewen.yan@unisoc.com
parent e6644c96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment