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_cpu for lwp0



details:   https://anonhg.NetBSD.org/src/rev/10f114f75133
branches:  trunk
changeset: 747902:10f114f75133
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Oct 05 09:09:29 2009 +0000

description:
set l_cpu for lwp0

diffstat:

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

diffs (26 lines):

diff -r 86921fcbacf6 -r 10f114f75133 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Mon Oct 05 08:34:53 2009 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Mon Oct 05 09:09:29 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.117 2009/10/02 18:50:15 elad Exp $  */
+/*     $NetBSD: rump.c,v 1.118 2009/10/05 09:09:29 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.117 2009/10/02 18:50:15 elad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.118 2009/10/05 09:09:29 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -235,6 +235,7 @@
        l->l_cred = rump_cred_suserget();
        l->l_proc = p;
        l->l_lid = 1;
+       l->l_cpu = &rump_cpu;
        LIST_INIT(&allproc);
        LIST_INSERT_HEAD(&allproc, &proc0, p_list);
        proc_lock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_NONE);



Home | Main Index | Thread Index | Old Index