Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/common Resurrect boottime, but only in the compat...



details:   https://anonhg.NetBSD.org/src/rev/eaf604ffaa4a
branches:  trunk
changeset: 968150:eaf604ffaa4a
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Jan 04 02:40:22 2020 +0000

description:
Resurrect boottime, but only in the compat_90 module (whether built-in
or separately loaded).  This will enable running of old vmstat(1) images
on newer kernels.

diffstat:

 sys/compat/common/compat_90_mod.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 3c5a1d9b3316 -r eaf604ffaa4a sys/compat/common/compat_90_mod.c
--- a/sys/compat/common/compat_90_mod.c Sat Jan 04 02:21:15 2020 +0000
+++ b/sys/compat/common/compat_90_mod.c Sat Jan 04 02:40:22 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_90_mod.c,v 1.2 2019/10/28 23:32:15 christos Exp $       */
+/*     $NetBSD: compat_90_mod.c,v 1.3 2020/01/04 02:40:22 pgoyette Exp $       */
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_90_mod.c,v 1.2 2019/10/28 23:32:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_90_mod.c,v 1.3 2020/01/04 02:40:22 pgoyette Exp $");
 
 #include <sys/systm.h>
 #include <sys/module.h>
@@ -77,3 +77,5 @@
                return ENOTTY;
        }
 }
+
+struct timespec boottime;      /* For access by older vmstat */



Home | Main Index | Thread Index | Old Index