Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 13224a7d authored by Ruchi Kandoi's avatar Ruchi Kandoi
Browse files

cpufreq: Avoid using global variable total_cpus



The change is to compile on kernels where cpufreq stats are compiled as
a module (CONFIG_CPU_FREQ_STAT=m), because total_cpus is not exported for
module use.

Reported-By: default avatarEmilio López <elopez93@gmail.com>
Signed-off-by: default avatarRuchi Kandoi <kandoiruchi@google.com>
Change-Id: I4f3c74f0fac5e8d9449655b26bf3b407b0fe4290
parent 5ffb5793
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment