Module Name:    src
Committed By:   pgoyette
Date:           Sat Jan  4 02:40:22 UTC 2020

Modified Files:
        src/sys/compat/common: compat_90_mod.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/common/compat_90_mod.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/common/compat_90_mod.c
diff -u src/sys/compat/common/compat_90_mod.c:1.2 src/sys/compat/common/compat_90_mod.c:1.3
--- src/sys/compat/common/compat_90_mod.c:1.2	Mon Oct 28 23:32:15 2019
+++ src/sys/compat/common/compat_90_mod.c	Sat Jan  4 02:40:22 2020
@@ -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 @@ compat_90_modcmd(modcmd_t cmd, void *arg
 		return ENOTTY;
 	}
 }
+
+struct timespec boottime;	/* For access by older vmstat */

Reply via email to