Module Name:    src
Committed By:   pooka
Date:           Tue Nov  6 18:33:00 UTC 2012

Modified Files:
        src/lib/librumpuser: rumpuser_pth_dummy.c

Log Message:
Actually define the klock/unlock pointers.  Not having the storage
allocated for them created "interesting" effects with one compiler setup.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/librumpuser/rumpuser_pth_dummy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/librumpuser/rumpuser_pth_dummy.c
diff -u src/lib/librumpuser/rumpuser_pth_dummy.c:1.6 src/lib/librumpuser/rumpuser_pth_dummy.c:1.7
--- src/lib/librumpuser/rumpuser_pth_dummy.c:1.6	Tue Nov  6 18:31:14 2012
+++ src/lib/librumpuser/rumpuser_pth_dummy.c	Tue Nov  6 18:33:00 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: rumpuser_pth_dummy.c,v 1.6 2012/11/06 18:31:14 pooka Exp $	*/
+/*	$NetBSD: rumpuser_pth_dummy.c,v 1.7 2012/11/06 18:33:00 pooka Exp $	*/
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(lint)
-__RCSID("$NetBSD: rumpuser_pth_dummy.c,v 1.6 2012/11/06 18:31:14 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_pth_dummy.c,v 1.7 2012/11/06 18:33:00 pooka Exp $");
 #endif /* !lint */
 
 #include <sys/time.h>
@@ -63,6 +63,9 @@ struct rumpuser_cv rumpuser_aio_cv;
 int rumpuser_aio_head, rumpuser_aio_tail;
 struct rumpuser_aio rumpuser_aios[N_AIOS];
 
+kernel_lockfn	rumpuser__klock;
+kernel_unlockfn	rumpuser__kunlock;
+
 /*ARGSUSED*/
 void
 rumpuser_thrinit(kernel_lockfn lockfn, kernel_unlockfn unlockfn, int threads)

Reply via email to