svn commit: r198548 - stable/6/sys/dev/aac

Ed Maste emaste at FreeBSD.org
Wed Oct 28 15:58:15 UTC 2009


Author: emaste
Date: Wed Oct 28 15:58:15 2009
New Revision: 198548
URL: http://svn.freebsd.org/changeset/base/198548

Log:
  Replace callout_schedule (which doesn't exist on 6.x) with callout_reset.

Modified:
  stable/6/sys/dev/aac/aac.c

Modified: stable/6/sys/dev/aac/aac.c
==============================================================================
--- stable/6/sys/dev/aac/aac.c	Wed Oct 28 15:36:55 2009	(r198547)
+++ stable/6/sys/dev/aac/aac.c	Wed Oct 28 15:58:15 2009	(r198548)
@@ -378,7 +378,7 @@ aac_daemon(void *arg)
 	*(uint32_t *)fib->data = tv.tv_sec;
 	aac_sync_fib(sc, SendHostTime, 0, fib, sizeof(uint32_t));
 	aac_release_sync_fib(sc);
-	callout_schedule(&sc->aac_daemontime, 30 * 60 * hz);
+	callout_reset(&sc->aac_daemontime, 30 * 60 * hz, aac_daemon, sc);
 }
 
 void


More information about the svn-src-all mailing list