Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Remove now-empty rump_sleepers_init()
details: https://anonhg.NetBSD.org/src/rev/366ee7002887
branches: trunk
changeset: 749664:366ee7002887
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Dec 05 13:01:31 2009 +0000
description:
Remove now-empty rump_sleepers_init()
diffstat:
sys/rump/librump/rumpkern/ltsleep.c | 16 ++++++++--------
sys/rump/librump/rumpkern/rump.c | 6 ++----
sys/rump/librump/rumpkern/rump_private.h | 3 +--
3 files changed, 11 insertions(+), 14 deletions(-)
diffs (79 lines):
diff -r 02e869cddb28 -r 366ee7002887 sys/rump/librump/rumpkern/ltsleep.c
--- a/sys/rump/librump/rumpkern/ltsleep.c Sat Dec 05 12:54:11 2009 +0000
+++ b/sys/rump/librump/rumpkern/ltsleep.c Sat Dec 05 13:01:31 2009 +0000
@@ -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)
-{
-
-}
diff -r 02e869cddb28 -r 366ee7002887 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Sat Dec 05 12:54:11 2009 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Sat Dec 05 13:01:31 2009 +0000
@@ -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();
diff -r 02e869cddb28 -r 366ee7002887 sys/rump/librump/rumpkern/rump_private.h
--- a/sys/rump/librump/rumpkern/rump_private.h Sat Dec 05 12:54:11 2009 +0000
+++ b/sys/rump/librump/rumpkern/rump_private.h Sat Dec 05 13:01:31 2009 +0000
@@ -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 *);
Home |
Main Index |
Thread Index |
Old Index