Module Name: src Committed By: pooka Date: Wed Apr 28 14:51:08 UTC 2010
Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: Uncrack my brain, buggy let me !be. In other words, make previous commit to this file actually work. Funny how it's possible to fix things to not dump core and still have them not work. To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169 src/sys/rump/librump/rumpkern/rump.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/rump.c diff -u src/sys/rump/librump/rumpkern/rump.c:1.168 src/sys/rump/librump/rumpkern/rump.c:1.169 --- src/sys/rump/librump/rumpkern/rump.c:1.168 Wed Apr 28 14:23:57 2010 +++ src/sys/rump/librump/rumpkern/rump.c Wed Apr 28 14:51:07 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: rump.c,v 1.168 2010/04/28 14:23:57 pooka Exp $ */ +/* $NetBSD: rump.c,v 1.169 2010/04/28 14:51:07 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.168 2010/04/28 14:23:57 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.169 2010/04/28 14:51:07 pooka Exp $"); #include <sys/systm.h> #define ELFSIZE ARCH_ELFSIZE @@ -62,6 +62,7 @@ #include <sys/select.h> #include <sys/sysctl.h> #include <sys/syscall.h> +#include <sys/syscallvar.h> #include <sys/timetc.h> #include <sys/tty.h> #include <sys/uidinfo.h> @@ -531,7 +532,6 @@ l->l_lid = lid; l->l_fd = p->p_fd; l->l_cpu = NULL; - l->l_sysent = rump_sysent; lwp_initspecific(l); LIST_INSERT_HEAD(&alllwp, l, l_list); @@ -759,7 +759,7 @@ callp = rump_sysent + num; rump_schedule(); l = curlwp; - rv = callp->sy_call(l, (void *)data, retval); + rv = sy_call(callp, l, (void *)data, retval); rump_unschedule(); return rv;