From: Dave Martin Date: Thu, 15 May 2025 16:58:52 +0000 (+0000) Subject: x86/resctrl: Relax some asm #includes X-Git-Tag: v6.16-rc1~182^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7b57edbf5681c7d0ed504a3a4e912bb68661ab9;p=thirdparty%2Fkernel%2Flinux.git x86/resctrl: Relax some asm #includes checkpatch.pl identifies some direct #includes of asm headers that can be satisfied by including the corresponding header instead. Fix them. No intentional functional change. Signed-off-by: Dave Martin Signed-off-by: James Morse Signed-off-by: Borislav Petkov (AMD) Reviewed-by: Reinette Chatre Reviewed-by: Fenghua Yu Tested-by: Fenghua Yu Tested-by: Peter Newman Tested-by: Shaopeng Tan Tested-by: Amit Singh Tomar # arm64 Tested-by: Shanker Donthineni # arm64 Tested-by: Babu Moger Tested-by: Tony Luck Link: https://lore.kernel.org/20250515165855.31452-23-james.morse@arm.com --- diff --git a/arch/x86/kernel/cpu/resctrl/pseudo_lock.c b/arch/x86/kernel/cpu/resctrl/pseudo_lock.c index db0b75b45fe4b..bb39ffdd85249 100644 --- a/arch/x86/kernel/cpu/resctrl/pseudo_lock.c +++ b/arch/x86/kernel/cpu/resctrl/pseudo_lock.c @@ -11,6 +11,8 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +#include +#include #include #include #include @@ -22,7 +24,6 @@ #include #include -#include #include #include