Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-localcount]: src/sys/rump/librump/rumpkern We also need to init...



details:   https://anonhg.NetBSD.org/src/rev/445846b3b89d
branches:  pgoyette-localcount
changeset: 852813:445846b3b89d
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Jul 18 06:58:44 2016 +0000

description:
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.

diffstat:

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

diffs (26 lines):

diff -r a8605821b9f0 -r 445846b3b89d sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Mon Jul 18 06:25:40 2016 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Mon Jul 18 06:58:44 2016 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -402,6 +402,7 @@
        fd_sys_init();
        module_init();
        devsw_init();
+       devsw_detach_init();
        pipe_init();
        resource_init();
        procinit_sysctl();



Home | Main Index | Thread Index | Old Index