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 use curlwp



details:   https://anonhg.NetBSD.org/src/rev/5cd733e7ce48
branches:  trunk
changeset: 757517:5cd733e7ce48
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Sep 01 19:57:52 2010 +0000

description:
use curlwp

diffstat:

 sys/rump/librump/rumpkern/sysproxy_socket.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r baf7093e8690 -r 5cd733e7ce48 sys/rump/librump/rumpkern/sysproxy_socket.c
--- a/sys/rump/librump/rumpkern/sysproxy_socket.c       Wed Sep 01 19:46:14 2010 +0000
+++ b/sys/rump/librump/rumpkern/sysproxy_socket.c       Wed Sep 01 19:57:52 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysproxy_socket.c,v 1.8 2010/09/01 19:37:59 pooka Exp $        */
+/*     $NetBSD: sysproxy_socket.c,v 1.9 2010/09/01 19:57:52 pooka Exp $        */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysproxy_socket.c,v 1.8 2010/09/01 19:37:59 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysproxy_socket.c,v 1.9 2010/09/01 19:57:52 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -372,7 +372,7 @@
        struct sysproxy_qent *qent = get_qent();
        struct rumprpc_sysresp resp;
        struct sysent *callp;
-       struct lwp *mylwp, *l;
+       struct lwp *mylwp;
 
        resp.rpc_head.rpch_flen = sizeof(resp);
        resp.rpc_head.rpch_reqno = req->rpc_head.rpch_reqno;
@@ -392,7 +392,7 @@
        rump_set_vmspace(&rump_sysproxy_vmspace);
 
        resp.rpc_retval = 0; /* default */
-       resp.rpc_error = callp->sy_call(l, (void *)req->rpc_data,
+       resp.rpc_error = callp->sy_call(curlwp, (void *)req->rpc_data,
            &resp.rpc_retval);
        rump_lwproc_releaselwp();
        rump_lwproc_switch(mylwp);



Home | Main Index | Thread Index | Old Index