Module Name: src
Committed By: pooka
Date: Wed Sep 1 19:57:52 UTC 2010
Modified Files:
src/sys/rump/librump/rumpkern: sysproxy_socket.c
Log Message:
use curlwp
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/rump/librump/rumpkern/sysproxy_socket.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/sysproxy_socket.c
diff -u src/sys/rump/librump/rumpkern/sysproxy_socket.c:1.8 src/sys/rump/librump/rumpkern/sysproxy_socket.c:1.9
--- src/sys/rump/librump/rumpkern/sysproxy_socket.c:1.8 Wed Sep 1 19:37:59 2010
+++ src/sys/rump/librump/rumpkern/sysproxy_socket.c Wed Sep 1 19:57:52 2010
@@ -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);