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 Uncrack my brain, buggy let me !be.



details:   https://anonhg.NetBSD.org/src/rev/c918227cdeee
branches:  trunk
changeset: 754348:c918227cdeee
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Apr 28 14:51:07 2010 +0000

description:
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.

diffstat:

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

diffs (43 lines):

diff -r 2ebd3b356f9f -r c918227cdeee sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Wed Apr 28 14:41:13 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Wed Apr 28 14:51:07 2010 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index