]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cpufreq_dt: Do not fetch again hw.ncpu
authormanu <manu@FreeBSD.org>
Tue, 3 Dec 2019 22:26:55 +0000 (22:26 +0000)
committermanu <manu@FreeBSD.org>
Tue, 3 Dec 2019 22:26:55 +0000 (22:26 +0000)
commit49cbef7749a35e005370f0498a5906a4cb042935
tree3dd08eda809283ae2e13488cfb78e91aabcbeb71
parent05d5e3b30d3fb4b91092e5327b7191980ef93f76
cpufreq_dt: Do not fetch again hw.ncpu

MD code already set the global variable mp_ncpus according to
the tunable hw.ncpu so use the global variable directly.

Reported by: ian
sys/dev/cpufreq/cpufreq_dt.c