git: 0c11c1792b13 - main - kern_thr.c: normalize includes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Apr 2024 16:52:33 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=0c11c1792b139baffbf74e5f1c6fe065708301cc
commit 0c11c1792b139baffbf74e5f1c6fe065708301cc
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-04-19 14:27:42 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-04-23 16:51:07 +0000
kern_thr.c: normalize includes
Remove extra sys/param.h, provided by sys/systm.h.
Order the rest alphabetically.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D44867
---
sys/kern/kern_thr.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index 5df5620842fd..0ab4cb5f7970 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -29,8 +29,9 @@
#include "opt_posix.h"
#include "opt_hwpmc_hooks.h"
-#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/kernel.h>
+#include <sys/limits.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/priv.h>
@@ -39,21 +40,19 @@
#include <sys/ptrace.h>
#include <sys/racct.h>
#include <sys/resourcevar.h>
+#include <sys/rtprio.h>
#include <sys/rwlock.h>
#include <sys/sched.h>
#include <sys/sysctl.h>
#include <sys/smp.h>
#include <sys/syscallsubr.h>
#include <sys/sysent.h>
-#include <sys/systm.h>
#include <sys/sysproto.h>
#include <sys/signalvar.h>
#include <sys/sysctl.h>
-#include <sys/ucontext.h>
#include <sys/thr.h>
-#include <sys/rtprio.h>
+#include <sys/ucontext.h>
#include <sys/umtxvar.h>
-#include <sys/limits.h>
#ifdef HWPMC_HOOKS
#include <sys/pmckern.h>
#endif