mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "sched: micro optimization for sched_energy_present"
This commit is contained in:
commit
d6d4969a7e
1 changed files with 1 additions and 1 deletions
|
|
@ -2830,7 +2830,7 @@ DECLARE_STATIC_KEY_FALSE(sched_energy_present);
|
|||
|
||||
static inline bool sched_energy_enabled(void)
|
||||
{
|
||||
return static_branch_unlikely(&sched_energy_present);
|
||||
return static_branch_likely(&sched_energy_present);
|
||||
}
|
||||
|
||||
#else /* ! (CONFIG_ENERGY_MODEL && CONFIG_CPU_FREQ_GOV_SCHEDUTIL) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue