Source-Changes-HG archive

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

[src/trunk]: src/sys sys/kernel.h: New home for extern start_init_exec.



details:   https://anonhg.NetBSD.org/src/rev/756e7fd6e2f5
branches:  trunk
changeset: 372070:756e7fd6e2f5
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Oct 26 23:27:32 2022 +0000

description:
sys/kernel.h: New home for extern start_init_exec.

diffstat:

 sys/sys/kernel.h    |   3 ++-
 sys/uvm/uvm_fault.c |  10 ++--------
 2 files changed, 4 insertions(+), 9 deletions(-)

diffs (48 lines):

diff -r 42fa4dcd57fe -r 756e7fd6e2f5 sys/sys/kernel.h
--- a/sys/sys/kernel.h  Wed Oct 26 23:27:16 2022 +0000
+++ b/sys/sys/kernel.h  Wed Oct 26 23:27:32 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kernel.h,v 1.34 2022/03/19 14:34:48 riastradh Exp $    */
+/*     $NetBSD: kernel.h,v 1.35 2022/10/26 23:27:32 riastradh Exp $    */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -53,6 +53,7 @@
 extern int rtc_offset;         /* offset of rtc from UTC in minutes */
 
 extern int cold;               /* still working on startup */
+extern int start_init_exec;    /* init(8) may have started */
 extern int shutting_down;      /* system is shutting down */
 extern int tick;               /* usec per tick (1000000 / hz) */
 extern int tickadj;            /* "standard" clock skew, us./tick */
diff -r 42fa4dcd57fe -r 756e7fd6e2f5 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c       Wed Oct 26 23:27:16 2022 +0000
+++ b/sys/uvm/uvm_fault.c       Wed Oct 26 23:27:32 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_fault.c,v 1.230 2022/06/03 00:21:44 dholland Exp $ */
+/*     $NetBSD: uvm_fault.c,v 1.231 2022/10/26 23:27:32 riastradh Exp $        */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.230 2022/06/03 00:21:44 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.231 2022/10/26 23:27:32 riastradh Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -171,12 +171,6 @@
  */
 
 /*
- * externs from other modules
- */
-
-extern int start_init_exec;    /* Is init_main() done / init running? */
-
-/*
  * inline functions
  */
 



Home | Main Index | Thread Index | Old Index