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 routine not meant to be com...



details:   https://anonhg.NetBSD.org/src/rev/54cdc833f7ae
branches:  trunk
changeset: 786478:54cdc833f7ae
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Apr 29 14:53:32 2013 +0000

description:
remove routine not meant to be committed

diffstat:

 sys/rump/librump/rumpkern/klock.c |  15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)

diffs (33 lines):

diff -r 35b4fefce8b9 -r 54cdc833f7ae sys/rump/librump/rumpkern/klock.c
--- a/sys/rump/librump/rumpkern/klock.c Mon Apr 29 14:51:39 2013 +0000
+++ b/sys/rump/librump/rumpkern/klock.c Mon Apr 29 14:53:32 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: klock.c,v 1.6 2013/04/29 14:51:41 pooka Exp $  */
+/*     $NetBSD: klock.c,v 1.7 2013/04/29 14:53:32 pooka Exp $  */
 
 /*
  * Copyright (c) 2007-2010 Antti Kantee.  All Rights Reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: klock.c,v 1.6 2013/04/29 14:51:41 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: klock.c,v 1.7 2013/04/29 14:53:32 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -166,14 +166,3 @@
        if (nlocks)
                _kernel_lock(nlocks);
 }
-
-void
-rump_user_kthread(void)
-{
-
-       KASSERT(curlwp == NULL);
-       rump_schedule();
-       if (rump_lwproc_newlwp(0) != 0)
-               panic("kthread create failed");
-       rump_unschedule();
-}



Home | Main Index | Thread Index | Old Index