git: cec0ab05866e - main - hwpstate_amd(4): Style: Sort headers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Feb 2026 20:44:06 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=cec0ab05866e664e7d7636cdadc782a4ca824bd2
commit cec0ab05866e664e7d7636cdadc782a4ca824bd2
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-01-29 22:22:35 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-02-11 20:43:21 +0000
hwpstate_amd(4): Style: Sort headers
And separate includes from the rest with an additional newline.
Sponsored by: The FreeBSD Foundation
---
sys/x86/cpufreq/hwpstate_amd.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/sys/x86/cpufreq/hwpstate_amd.c b/sys/x86/cpufreq/hwpstate_amd.c
index 3a5652a8361f..058d20449d48 100644
--- a/sys/x86/cpufreq/hwpstate_amd.c
+++ b/sys/x86/cpufreq/hwpstate_amd.c
@@ -52,17 +52,17 @@
#include <sys/bus.h>
#include <sys/cpu.h>
#include <sys/kernel.h>
-#include <sys/module.h>
#include <sys/malloc.h>
-#include <sys/proc.h>
+#include <sys/module.h>
#include <sys/pcpu.h>
+#include <sys/proc.h>
#include <sys/sbuf.h>
-#include <sys/smp.h>
#include <sys/sched.h>
+#include <sys/smp.h>
#include <machine/_inttypes.h>
-#include <machine/md_var.h>
#include <machine/cputypes.h>
+#include <machine/md_var.h>
#include <machine/specialreg.h>
#include <contrib/dev/acpica/include/acpi.h>
@@ -74,6 +74,7 @@
#include "acpi_if.h"
#include "cpufreq_if.h"
+
#define MSR_AMD_10H_11H_LIMIT 0xc0010061
#define MSR_AMD_10H_11H_CONTROL 0xc0010062
#define MSR_AMD_10H_11H_STATUS 0xc0010063