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 since uidinfo uses sysctl now, mov...



details:   https://anonhg.NetBSD.org/src/rev/7105db1ef1f7
branches:  trunk
changeset: 779668:7105db1ef1f7
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 09 15:48:38 2012 +0000

description:
since uidinfo uses sysctl now, move sysctl initialization before it.

diffstat:

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

diffs (34 lines):

diff -r e141358f69cd -r 7105db1ef1f7 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Sat Jun 09 12:39:53 2012 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Sat Jun 09 15:48:38 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.241 2012/06/03 10:45:10 dsl Exp $   */
+/*     $NetBSD: rump.c,v 1.242 2012/06/09 15:48:38 christos 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.241 2012/06/03 10:45:10 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.242 2012/06/09 15:48:38 christos Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -326,6 +326,7 @@
 
        procinit();
        proc0_init();
+       sysctl_init();
        uid_init();
        chgproccnt(0, 1);
 
@@ -373,7 +374,6 @@
                aprint_verbose("cpu%d at thinair0: rump virtual cpu\n", i);
        }
 
-       sysctl_init();
        mksysctls();
        kqueue_init();
        iostat_init();



Home | Main Index | Thread Index | Old Index