diff options
author | Kim Phillips <kim.phillips@amd.com> | 2021-08-17 17:10:45 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-08-26 09:14:36 +0200 |
commit | 0a0b53e0c3793c0930d258786702d48d21fc6383 (patch) | |
tree | 15fa995acfbdc4af778e1e6e2eef86c74469c191 /arch | |
parent | 6cf295b21608f9253037335f47cd0dfcce812d81 (diff) |
perf/amd/uncore: Clean up header use, use <linux/ include paths instead of <asm/
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
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/events/amd/uncore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/events/amd/uncore.c b/arch/x86/events/amd/uncore.c index 05bdb4cba300..7fb50ad171e9 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 |