f1172c58e5
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 |
||
---|---|---|
.. | ||
altq_cbq.c | ||
altq_cbq.h | ||
altq_cdnr.c | ||
altq_cdnr.h | ||
altq_classq.h | ||
altq_hfsc.c | ||
altq_hfsc.h | ||
altq_priq.c | ||
altq_priq.h | ||
altq_red.c | ||
altq_red.h | ||
altq_rio.c | ||
altq_rio.h | ||
altq_rmclass_debug.h | ||
altq_rmclass.c | ||
altq_rmclass.h | ||
altq_subr.c | ||
altq_var.h | ||
altq.h | ||
altqconf.h | ||
if_altq.h |