]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: Call clock_init() after finishidentcpu()
authorMark Johnston <markj@FreeBSD.org>
Sat, 5 Mar 2022 00:32:39 +0000 (19:32 -0500)
committerMark Johnston <markj@FreeBSD.org>
Thu, 31 Mar 2022 16:05:44 +0000 (12:05 -0400)
commitae95c02d02c29ddbb3767ca13731325be0688a28
treedff8f3bb7673ccac29602991f588b9748f43f855
parent44eddec48e5fc09679ce12210e3a02dfeb14889c
amd64: Call clock_init() after finishidentcpu()

As in commit c3d830cf7c71, we should finalize CPU identification before
probing the TSC frequency.

Fixes: 84369dd52369 ("x86: Probe the TSC frequency earlier")
Reported by: khng

(cherry picked from commit f7a6dccf426676bdd8c6be25491e57dca830de25)
sys/amd64/amd64/machdep.c