[tip: perf/core] perf/amd/uncore: Clean up header use, use <linux/ include paths instead of <asm/

From
tip-bot2 for Kim Phillips <hidden>
Date
2021-08-26 08:10:04
Reply to
Kim Phillips, 2021-08-17
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 [off-list ref]
AuthorDate:    Tue, 17 Aug 2021 17:10:45 -05:00
Committer:     Ingo Molnar [off-list ref]
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 <redacted>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210817221048.88063-6-kim.phillips@amd.com (local)
---
 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
Thread (27 messages) 27 messages, 3 authors, last reply 2021-08-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help