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 Set l_sysent so that syscall autol...



details:   https://anonhg.NetBSD.org/src/rev/14250e0766e7
branches:  trunk
changeset: 754346:14250e0766e7
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Apr 28 14:23:57 2010 +0000

description:
Set l_sysent so that syscall autoload actually works instead of autocores.

diffstat:

 sys/rump/librump/rumpkern/rump.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r b9e8676e89e1 -r 14250e0766e7 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Wed Apr 28 14:07:03 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Wed Apr 28 14:23:57 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.167 2010/04/28 11:34:18 pooka Exp $ */
+/*     $NetBSD: rump.c,v 1.168 2010/04/28 14:23:57 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.167 2010/04/28 11:34:18 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.168 2010/04/28 14:23:57 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -531,6 +531,7 @@
        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);
 



Home | Main Index | Thread Index | Old Index