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 boottime is a timespec, not timeval



details:   https://anonhg.NetBSD.org/src/rev/52093118849d
branches:  trunk
changeset: 343010:52093118849d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jan 18 15:53:38 2016 +0000

description:
boottime is a timespec, not timeval

diffstat:

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

diffs (35 lines):

diff -r 06747bd4f188 -r 52093118849d sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c  Mon Jan 18 14:37:53 2016 +0000
+++ b/sys/rump/librump/rumpkern/emul.c  Mon Jan 18 15:53:38 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emul.c,v 1.174 2015/12/29 10:22:05 pgoyette Exp $      */
+/*     $NetBSD: emul.c,v 1.175 2016/01/18 15:53:38 pooka 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.174 2015/12/29 10:22:05 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.175 2016/01/18 15:53:38 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/null.h>
@@ -36,6 +36,7 @@
 #include <sys/syslog.h>
 #include <sys/namei.h>
 #include <sys/kauth.h>
+#include <sys/kernel.h>
 #include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/queue.h>
@@ -86,7 +87,7 @@
 
 const int schedppq = 1;
 bool mp_online = false;
-struct timeval boottime;
+struct timespec boottime;
 int cold = 1;
 int boothowto = AB_SILENT;
 struct tty *constty;



Home | Main Index | Thread Index | Old Index