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 initialize specificdata for lwp0 too
details: https://anonhg.NetBSD.org/src/rev/d69f06f40aff
branches: trunk
changeset: 755562:d69f06f40aff
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Jun 09 13:51:02 2010 +0000
description:
initialize specificdata for lwp0 too
diffstat:
sys/rump/librump/rumpkern/rump.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 838ab6f5b857 -r d69f06f40aff sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Wed Jun 09 13:44:24 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Wed Jun 09 13:51:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.175 2010/06/03 10:56:20 pooka Exp $ */
+/* $NetBSD: rump.c,v 1.176 2010/06/09 13:51:02 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.175 2010/06/03 10:56:20 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.176 2010/06/09 13:51:02 pooka Exp $");
#include <sys/systm.h>
#define ELFSIZE ARCH_ELFSIZE
@@ -313,7 +313,9 @@
LIST_INIT(&allproc);
LIST_INSERT_HEAD(&allproc, &proc0, p_list);
proc_lock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_NONE);
+
lwpinit_specificdata();
+ lwp_initspecific(&lwp0);
mutex_init(&rump_limits.pl_lock, MUTEX_DEFAULT, IPL_NONE);
rump_limits.pl_rlimit[RLIMIT_FSIZE].rlim_cur = RLIM_INFINITY;
Home |
Main Index |
Thread Index |
Old Index