Module Name: src Committed By: pooka Date: Mon Apr 29 14:53:33 UTC 2013
Modified Files: src/sys/rump/librump/rumpkern: klock.c Log Message: remove routine not meant to be committed To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/rump/librump/rumpkern/klock.c 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/klock.c diff -u src/sys/rump/librump/rumpkern/klock.c:1.6 src/sys/rump/librump/rumpkern/klock.c:1.7 --- src/sys/rump/librump/rumpkern/klock.c:1.6 Mon Apr 29 14:51:41 2013 +++ src/sys/rump/librump/rumpkern/klock.c Mon Apr 29 14:53:32 2013 @@ -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 @@ rump_user_schedule(int nlocks, void *int 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(); -}