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 Allow rumpkernel to use rw_obj_*



details:   https://anonhg.NetBSD.org/src/rev/996b179ba3a7
branches:  trunk
changeset: 340313:996b179ba3a7
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Mon Aug 31 07:38:48 2015 +0000

description:
Allow rumpkernel to use rw_obj_*

diffstat:

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

diffs (43 lines):

diff -r f40cda7afcd1 -r 996b179ba3a7 sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern       Mon Aug 31 06:25:15 2015 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern       Mon Aug 31 07:38:48 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rumpkern,v 1.162 2015/08/21 06:56:12 christos Exp $
+#      $NetBSD: Makefile.rumpkern,v 1.163 2015/08/31 07:38:48 ozaki-r Exp $
 #
 
 .include "${RUMPTOP}/Makefile.rump"
@@ -113,6 +113,7 @@
        subr_pool.c             \
        subr_prf.c              \
        subr_pserialize.c       \
+       kern_rwlock_obj.c       \
        subr_specificdata.c     \
        subr_time.c             \
        subr_vmem.c             \
diff -r f40cda7afcd1 -r 996b179ba3a7 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Mon Aug 31 06:25:15 2015 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Mon Aug 31 07:38:48 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.324 2015/08/25 14:53:25 pooka Exp $ */
+/*     $NetBSD: rump.c,v 1.325 2015/08/31 07:38:48 ozaki-r 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.324 2015/08/25 14:53:25 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.325 2015/08/31 07:38:48 ozaki-r Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -296,6 +296,7 @@
        uao_init();
 
        mutex_obj_init();
+       rw_obj_init();
        callout_startup();
 
        kprintf_init();



Home | Main Index | Thread Index | Old Index