CVS commit: [pgoyette-localcount] src/sys/rump/librump/rumpkern

2016-07-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jul 18 06:58:44 UTC 2016

Modified Files:
src/sys/rump/librump/rumpkern [pgoyette-localcount]: rump.c

Log Message:
We also need to init devsw's pserialize stuff when running as rump.

XXX Noted that in rump, pserialize is initialized much sooner than devsw,
XXX while in "real" kernels, pserialize comes _after_ devsw.  Hmmm.


To generate a diff of this commit:
cvs rdiff -u -r1.329 -r1.329.2.1 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.329 src/sys/rump/librump/rumpkern/rump.c:1.329.2.1
--- src/sys/rump/librump/rumpkern/rump.c:1.329	Tue Mar  8 14:30:48 2016
+++ src/sys/rump/librump/rumpkern/rump.c	Mon Jul 18 06:58:44 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: rump.c,v 1.329 2016/03/08 14:30:48 joerg Exp $	*/
+/*	$NetBSD: rump.c,v 1.329.2.1 2016/07/18 06:58:44 pgoyette Exp $	*/
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.329 2016/03/08 14:30:48 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.329.2.1 2016/07/18 06:58:44 pgoyette Exp $");
 
 #include 
 #define ELFSIZE ARCH_ELFSIZE
@@ -402,6 +402,7 @@ rump_init(void)
 	fd_sys_init();
 	module_init();
 	devsw_init();
+	devsw_detach_init();
 	pipe_init();
 	resource_init();
 	procinit_sysctl();



CVS commit: [pgoyette-localcount] src/sys/rump/librump/rumpkern

2016-07-16 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Jul 16 11:07:00 UTC 2016

Modified Files:
src/sys/rump/librump/rumpkern [pgoyette-localcount]: Makefile.rumpkern

Log Message:
Make sure we include the localcount routines in the rump libraries


To generate a diff of this commit:
cvs rdiff -u -r1.167 -r1.167.2.1 \
src/sys/rump/librump/rumpkern/Makefile.rumpkern

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/Makefile.rumpkern
diff -u src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.167 src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.167.2.1
--- src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.167	Mon Apr 11 06:49:11 2016
+++ src/sys/rump/librump/rumpkern/Makefile.rumpkern	Sat Jul 16 11:06:59 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.rumpkern,v 1.167 2016/04/11 06:49:11 ozaki-r Exp $
+#	$NetBSD: Makefile.rumpkern,v 1.167.2.1 2016/07/16 11:06:59 pgoyette Exp $
 #
 
 .include "${RUMPTOP}/Makefile.rump"
@@ -108,6 +108,7 @@ SRCS+=	init_sysctl_base.c	\
 	subr_kcpuset.c		\
 	subr_kmem.c		\
 	subr_kobj.c		\
+	subr_localcount.c	\
 	subr_log.c		\
 	subr_lwp_specificdata.c	\
 	subr_once.c		\