Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2009 15:58:15 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org
Subject:   svn commit: r198548 - stable/6/sys/dev/aac
Message-ID:  <200910281558.n9SFwFQh065847@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910281558.n9SFwFQh065847>