Skip to content

Commit b7b57ed

Browse files
Dave Martinbp3tk0v
authored andcommitted
x86/resctrl: Relax some asm #includes
checkpatch.pl identifies some direct #includes of asm headers that can be satisfied by including the corresponding <linux/...> header instead. Fix them. No intentional functional change. Signed-off-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Reviewed-by: Fenghua Yu <fenghuay@nvidia.com> Tested-by: Fenghua Yu <fenghuay@nvidia.com> Tested-by: Peter Newman <peternewman@google.com> Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Tested-by: Amit Singh Tomar <amitsinght@marvell.com> # arm64 Tested-by: Shanker Donthineni <sdonthineni@nvidia.com> # arm64 Tested-by: Babu Moger <babu.moger@amd.com> Tested-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/20250515165855.31452-23-james.morse@arm.com
1 parent df3dc0e commit b7b57ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/x86/kernel/cpu/resctrl/pseudo_lock.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
1313

14+
#include <linux/cacheflush.h>
15+
#include <linux/cacheinfo.h>
1416
#include <linux/cpu.h>
1517
#include <linux/cpumask.h>
1618
#include <linux/debugfs.h>
@@ -22,7 +24,6 @@
2224
#include <linux/slab.h>
2325
#include <linux/uaccess.h>
2426

25-
#include <asm/cacheflush.h>
2627
#include <asm/cpu_device_id.h>
2728
#include <asm/perf_event.h>
2829

0 commit comments

Comments
 (0)