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 exec_lock
details: https://anonhg.NetBSD.org/src/rev/2e2a67c03e4d
branches: trunk
changeset: 328611:2e2a67c03e4d
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Apr 09 23:49:27 2014 +0000
description:
initialize exec_lock
diffstat:
sys/rump/librump/rumpkern/rump.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r f1222a3d7d6a -r 2e2a67c03e4d sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Wed Apr 09 22:44:15 2014 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Wed Apr 09 23:49:27 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.292 2014/04/02 19:37:17 pooka Exp $ */
+/* $NetBSD: rump.c,v 1.293 2014/04/09 23:49:27 pooka Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.292 2014/04/02 19:37:17 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.293 2014/04/09 23:49:27 pooka Exp $");
#include <sys/systm.h>
#define ELFSIZE ARCH_ELFSIZE
@@ -355,6 +355,9 @@
ts = boottime;
tc_setclock(&ts);
+ extern krwlock_t exec_lock;
+ rw_init(&exec_lock);
+
/* we are mostly go. do per-cpu subsystem init */
for (i = 0; i < numcpu; i++) {
struct cpu_info *ci = cpu_lookup(i);
Home |
Main Index |
Thread Index |
Old Index