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 Add shutting_down variable for rump.



details:   https://anonhg.NetBSD.org/src/rev/50869724a56b
branches:  trunk
changeset: 968087:50869724a56b
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jan 02 08:49:10 2020 +0000

description:
Add shutting_down variable for rump.

diffstat:

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

diffs (26 lines):

diff -r bc6b42a54391 -r 50869724a56b sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c  Thu Jan 02 08:08:30 2020 +0000
+++ b/sys/rump/librump/rumpkern/emul.c  Thu Jan 02 08:49:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emul.c,v 1.193 2019/12/16 22:47:55 ad Exp $    */
+/*     $NetBSD: emul.c,v 1.194 2020/01/02 08:49:10 martin Exp $        */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.193 2019/12/16 22:47:55 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.194 2020/01/02 08:49:10 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/cprng.h>
@@ -64,6 +64,7 @@
 dev_t rootdev = NODEV;
 
 const int schedppq = 1;
+int    shutting_down __read_mostly;    /* system is shutting down */
 struct timespec boottime;
 int cold = 1;
 int boothowto = AB_SILENT;



Home | Main Index | Thread Index | Old Index