summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1999-03-06 04:46:20 +0000
committerwollman <wollman@FreeBSD.org>1999-03-06 04:46:20 +0000
commit430742a1d927c44ffd86c137de1de95c830e3d9f (patch)
treec3ce6195396f919b5121b6adf1500d29aacefdee /sys/alpha
parenta8964e24ebd03ab08f920b3909ed954271a750be (diff)
downloadFreeBSD-src-430742a1d927c44ffd86c137de1de95c830e3d9f.zip
FreeBSD-src-430742a1d927c44ffd86c137de1de95c830e3d9f.tar.gz
Expose a slightly-lower-level interface to timeouts which allows callers
to manage their own memory. Tested on my machine (make buildworld). I've made analogous changes on the alpha, but don't have a machine to test. Not-objected-to by: dg, gibbs
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/machdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c
index b027e98..9dfbb8f 100644
--- a/sys/alpha/alpha/machdep.c
+++ b/sys/alpha/alpha/machdep.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: machdep.c,v 1.32 1999/02/22 15:13:33 bde Exp $
+ * $Id: machdep.c,v 1.33 1999/02/27 18:41:40 dfr Exp $
*/
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -409,6 +409,8 @@ again:
*/
SLIST_INIT(&callfree);
for (i = 0; i < ncallout; i++) {
+ callout_init(&callout[i]);
+ callout[i].c_flags = CALLOUT_LOCAL_ALLOC;
SLIST_INSERT_HEAD(&callfree, &callout[i], c_links.sle);
}
OpenPOWER on IntegriCloud