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 <[email protected]> Signed-off-by: James Morse <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Reviewed-by: Fenghua Yu <[email protected]> Tested-by: Fenghua Yu <[email protected]> Tested-by: Peter Newman <[email protected]> Tested-by: Shaopeng Tan <[email protected]> Tested-by: Amit Singh Tomar <[email protected]> # arm64 Tested-by: Shanker Donthineni <[email protected]> # arm64 Tested-by: Babu Moger <[email protected]> Tested-by: Tony Luck <[email protected]> Link: https://lore.kernel.org/[email protected]
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)