[PATCH v3 15/44] perf/x86/amd/uncore: Reorder headers alphabetically

From: Ahmed S. Darwish
Date: Thu Jun 12 2025 - 19:42:59 EST


The source file uses cpuid_*() macros, but it does not include
<asm/cpuid/api.h>. Sort its include lines so that the CPUID header can
be included next.

Signed-off-by: Ahmed S. Darwish <darwi@xxxxxxxxxxxxx>
---
arch/x86/events/amd/uncore.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/x86/events/amd/uncore.c b/arch/x86/events/amd/uncore.c
index e8b6af199c73..c1483ef16c0b 100644
--- a/arch/x86/events/amd/uncore.c
+++ b/arch/x86/events/amd/uncore.c
@@ -5,18 +5,18 @@
* Author: Jacob Shin <jacob.shin@xxxxxxx>
*/

-#include <linux/perf_event.h>
-#include <linux/percpu.h>
-#include <linux/types.h>
-#include <linux/slab.h>
-#include <linux/init.h>
#include <linux/cpu.h>
-#include <linux/cpumask.h>
#include <linux/cpufeature.h>
+#include <linux/cpumask.h>
+#include <linux/init.h>
+#include <linux/percpu.h>
+#include <linux/perf_event.h>
+#include <linux/slab.h>
#include <linux/smp.h>
+#include <linux/types.h>

-#include <asm/perf_event.h>
#include <asm/msr.h>
+#include <asm/perf_event.h>

#define NUM_COUNTERS_NB 4
#define NUM_COUNTERS_L2 4
--
2.49.0