Module Name: src
Committed By: riastradh
Date: Sun Dec 22 23:18:47 UTC 2024
Modified Files:
src/sys/kern: subr_time.c
Log Message:
subr_time.c: Sort includes.
No functional change intended.
Preparation for factoring out arithmetic to test and fix:
PR kern/58922: itimer(9): arithmetic overflow
PR kern/58925: itimer(9) responds erratically to clock wound back
PR kern/58926: itimer(9) integer overflow in overrun counting
PR kern/58927: itimer(9): overrun accounting is broken
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/kern/subr_time.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/kern/subr_time.c
diff -u src/sys/kern/subr_time.c:1.39 src/sys/kern/subr_time.c:1.40
--- src/sys/kern/subr_time.c:1.39 Thu Oct 10 11:14:28 2024
+++ src/sys/kern/subr_time.c Sun Dec 22 23:18:47 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_time.c,v 1.39 2024/10/10 11:14:28 kre Exp $ */
+/* $NetBSD: subr_time.c,v 1.40 2024/12/22 23:18:47 riastradh Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -33,17 +33,19 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_time.c,v 1.39 2024/10/10 11:14:28 kre Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_time.c,v 1.40 2024/12/22 23:18:47 riastradh Exp $");
#include <sys/param.h>
-#include <sys/kernel.h>
-#include <sys/proc.h>
+#include <sys/types.h>
+
+#include <sys/intr.h>
#include <sys/kauth.h>
+#include <sys/kernel.h>
#include <sys/lwp.h>
-#include <sys/timex.h>
+#include <sys/proc.h>
#include <sys/time.h>
#include <sys/timetc.h>
-#include <sys/intr.h>
+#include <sys/timex.h>
/*
* Compute number of hz until specified time. Used to compute second