[tip: perf/core] perf/amd/uncore: Clean up header use, use <linux/ include paths instead of <asm/
From: tip-bot2 for Kim Phillips
Date: Thu Aug 26 2021 - 04:10:04 EST
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 0a0b53e0c3793c0930d258786702d48d21fc6383
Gitweb: https://git.kernel.org/tip/0a0b53e0c3793c0930d258786702d48d21fc6383
Author: Kim Phillips <kim.phillips@xxxxxxx>
AuthorDate: Tue, 17 Aug 2021 17:10:45 -05:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Thu, 26 Aug 2021 09:14:36 +02:00
perf/amd/uncore: Clean up header use, use <linux/ include paths instead of <asm/
Found by checkpatch.
Signed-off-by: Kim Phillips <kim.phillips@xxxxxxx>
Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20210817221048.88063-6-kim.phillips@xxxxxxx
---
arch/x86/events/amd/uncore.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/events/amd/uncore.c b/arch/x86/events/amd/uncore.c
index 05bdb4c..7fb50ad 100644
--- a/arch/x86/events/amd/uncore.c
+++ b/arch/x86/events/amd/uncore.c
@@ -12,11 +12,11 @@
#include <linux/init.h>
#include <linux/cpu.h>
#include <linux/cpumask.h>
+#include <linux/cpufeature.h>
+#include <linux/smp.h>
-#include <asm/cpufeature.h>
#include <asm/perf_event.h>
#include <asm/msr.h>
-#include <asm/smp.h>
#define NUM_COUNTERS_NB 4
#define NUM_COUNTERS_L2 4