njl         2007-07-12 17:00:52 UTC

  FreeBSD src repository

  Modified files:
    sys/contrib/altq/altq altq_subr.c 
  Log:
  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
  
  Revision  Changes    Path
  1.10      +18 -6     src/sys/contrib/altq/altq/altq_subr.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to