projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cf295b
)
perf/amd/uncore: Clean up header use, use <linux/ include paths instead of <asm/
author
Kim Phillips
<kim.phillips@amd.com>
Tue, 17 Aug 2021 22:10:45 +0000
(17:10 -0500)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 26 Aug 2021 07:14:36 +0000
(09:14 +0200)
Found by checkpatch.
Signed-off-by: Kim Phillips <kim.phillips@amd.com>
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
arch/x86/events/amd/uncore.c
patch
|
blob
|
history
diff --git
a/arch/x86/events/amd/uncore.c
b/arch/x86/events/amd/uncore.c
index 05bdb4cba300463d8f57a1cfb8a26694f868625b..7fb50ad171e982035125c625398fc5f1115f3f7a 100644
(file)
--- 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