Module Name: src
Committed By: pooka
Date: Sat Dec 5 13:01:31 UTC 2009
Modified Files:
src/sys/rump/librump/rumpkern: ltsleep.c rump.c rump_private.h
Log Message:
Remove now-empty rump_sleepers_init()
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/rump/librump/rumpkern/ltsleep.c
cvs rdiff -u -r1.145 -r1.146 src/sys/rump/librump/rumpkern/rump.c
cvs rdiff -u -r1.41 -r1.42 src/sys/rump/librump/rumpkern/rump_private.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpkern/ltsleep.c
diff -u src/sys/rump/librump/rumpkern/ltsleep.c:1.21 src/sys/rump/librump/rumpkern/ltsleep.c:1.22
--- src/sys/rump/librump/rumpkern/ltsleep.c:1.21 Wed Nov 11 16:50:17 2009
+++ src/sys/rump/librump/rumpkern/ltsleep.c Sat Dec 5 13:01:31 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: ltsleep.c,v 1.21 2009/11/11 16:50:17 pooka Exp $ */
+/* $NetBSD: ltsleep.c,v 1.22 2009/12/05 13:01:31 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,8 +28,14 @@
* SUCH DAMAGE.
*/
+/*
+ * Emulate the prehistoric tsleep-style kernel interfaces. We assume
+ * only code under the biglock will be using this type of synchronization
+ * and use the biglock as the cv interlock.
+ */
+
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ltsleep.c,v 1.21 2009/11/11 16:50:17 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ltsleep.c,v 1.22 2009/12/05 13:01:31 pooka Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -145,9 +151,3 @@
do_wakeup(ident, rumpuser_cv_signal);
}
-
-void
-rump_sleepers_init(void)
-{
-
-}
Index: src/sys/rump/librump/rumpkern/rump.c
diff -u src/sys/rump/librump/rumpkern/rump.c:1.145 src/sys/rump/librump/rumpkern/rump.c:1.146
--- src/sys/rump/librump/rumpkern/rump.c:1.145 Fri Dec 4 16:47:33 2009
+++ src/sys/rump/librump/rumpkern/rump.c Sat Dec 5 13:01:31 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.145 2009/12/04 16:47:33 pooka Exp $ */
+/* $NetBSD: rump.c,v 1.146 2009/12/05 13:01:31 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.145 2009/12/04 16:47:33 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.146 2009/12/05 13:01:31 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -234,8 +234,6 @@
once_init();
prop_kern_init();
- rump_sleepers_init();
-
pool_subsystem_init();
kmem_init();
Index: src/sys/rump/librump/rumpkern/rump_private.h
diff -u src/sys/rump/librump/rumpkern/rump_private.h:1.41 src/sys/rump/librump/rumpkern/rump_private.h:1.42
--- src/sys/rump/librump/rumpkern/rump_private.h:1.41 Fri Dec 4 17:57:16 2009
+++ src/sys/rump/librump/rumpkern/rump_private.h Sat Dec 5 13:01:31 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_private.h,v 1.41 2009/12/04 17:57:16 pooka Exp $ */
+/* $NetBSD: rump_private.h,v 1.42 2009/12/05 13:01:31 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -60,7 +60,6 @@
extern struct sysent rump_sysent[];
void rumpvm_init(void);
-void rump_sleepers_init(void);
struct vm_page *rumpvm_makepage(struct uvm_object *, voff_t);
void rump_gettime(struct timespec *);