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 call loginit() later, a lot later



details:   https://anonhg.NetBSD.org/src/rev/0df8b2a109cc
branches:  trunk
changeset: 338370:0df8b2a109cc
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed May 20 11:02:54 2015 +0000

description:
call loginit() later, a lot later

diffstat:

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

diffs (35 lines):

diff -r 0599dfa21bf8 -r 0df8b2a109cc sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Wed May 20 09:17:17 2015 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Wed May 20 11:02:54 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.319 2015/04/22 18:12:39 pooka Exp $ */
+/*     $NetBSD: rump.c,v 1.320 2015/05/20 11:02:54 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.319 2015/04/22 18:12:39 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.320 2015/05/20 11:02:54 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -317,7 +317,6 @@
 
        kprintf_init();
        pserialize_init();
-       loginit();
 
        kauth_init();
 
@@ -355,6 +354,8 @@
        lwpinit_specificdata();
        lwp_initspecific(&lwp0);
 
+       loginit();
+
        rump_biglock_init();
 
        rump_scheduler_init(numcpu);



Home | Main Index | Thread Index | Old Index