freebsd-dev/sys/contrib
Nate Lawson f1172c58e5 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
2007-07-12 17:00:51 +00:00
..
altq/altq Fix a bug where the callout might not be initialized before being used. 2007-07-12 17:00:51 +00:00
dev This commit was generated by cvs2svn to compensate for changes in r168616, 2007-04-11 11:09:18 +00:00
ia64/libuwx Apply local modifications to make Unwind Express BETA 10 buildable and 2006-07-07 23:56:34 +00:00
ipfilter/netinet Pointer to an ICMP header was getting left behind after doing a pullup. 2007-06-09 09:28:36 +00:00
ngatm This commit was generated by cvs2svn to compensate for changes in r171364, 2007-07-11 14:41:54 +00:00
opensolaris Correct a reference-counting mistake in the ZFS code which led to abnormal 2007-07-09 09:03:49 +00:00
pf Remove unused variable from pf_subr.c to make it -Werror buildable. 2007-07-05 15:28:59 +00:00