summaryrefslogtreecommitdiffstats
path: root/UPDATING
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2007-07-12 17:00:51 +0000
committernjl <njl@FreeBSD.org>2007-07-12 17:00:51 +0000
commit441582040c22d482801d42047860f700b6035be8 (patch)
treecb1533dad0c61635faf9ba7ff91c42abfd61ce6d /UPDATING
parent01c1ec9b1ae5e546930028126ab6d950d401c786 (diff)
downloadFreeBSD-src-441582040c22d482801d42047860f700b6035be8.zip
FreeBSD-src-441582040c22d482801d42047860f700b6035be8.tar.gz
Fix a bug where the callout might not be initialized before being used.
Rev 1.9 introduced another path where machclk_freq would be initialized before the rest of setup was done (i.e. initializing the callout). Make the one-time initialization a separate function and make init_machclk() able to be called multiple times, any time. We depend on tsc_freq first being updated from the highest priority eventhandler, thus we run last and call init_machclk() to set machclk_freq. Also, don't initialize static variables to 0. Tested by: Eygene Ryabinkin Approved by: re
Diffstat (limited to 'UPDATING')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud