Module Name:    src
Committed By:   pooka
Date:           Wed Apr  9 23:49:27 UTC 2014

Modified Files:
        src/sys/rump/librump/rumpkern: rump.c

Log Message:
initialize exec_lock


To generate a diff of this commit:
cvs rdiff -u -r1.292 -r1.293 src/sys/rump/librump/rumpkern/rump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/rump.c
diff -u src/sys/rump/librump/rumpkern/rump.c:1.292 src/sys/rump/librump/rumpkern/rump.c:1.293
--- src/sys/rump/librump/rumpkern/rump.c:1.292	Wed Apr  2 19:37:17 2014
+++ src/sys/rump/librump/rumpkern/rump.c	Wed Apr  9 23:49:27 2014
@@ -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 @@ rump_init(void)
 	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);

Reply via email to