From: Ahmed S. Darwish Date: Fri, 27 Mar 2026 02:15:19 +0000 (+0100) Subject: x86/cpu: Do not include the CPUID API header in asm/processor.h X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=55cbcb6731bbea264716ad57eeedc0f98ec176c5;p=thirdparty%2Fkernel%2Flinux.git x86/cpu: Do not include the CPUID API header in asm/processor.h asm/processor.h includes asm/cpuid/api.h but it does not need it. Remove the include. This allows the CPUID APIs header to include at a later step without introducing a circular dependency. Note, all call sites which implicitly included the CPUID API through have been modified to explicitly include the CPUID APIs instead. Signed-off-by: Ahmed S. Darwish Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/20260327021645.555257-1-darwi@linutronix.de --- diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 10b5355b323e2..4f4356b131584 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -16,7 +16,6 @@ struct vm86; #include #include #include -#include #include #include #include