Re: [PATCH] x86/extable: include asm/processor.h for cpu_relax()
From: Borislav Petkov
Date: Fri Apr 18 2025 - 08:38:53 EST
On Fri, Apr 18, 2025 at 02:36:02PM +0200, Dmytro Maluka wrote:
> Yeah, I meant precisely: when compiling with CONFIG_X86_MCE disabled and
> some code enabled that includes asm/extable.h without prior including
> asm/processor.h.
>
> I encountered that with the out-of-tree-yet code [1] (which is a part of
> a prototype implementation of pKVM on x86) which includes asm/sections.h
> which includes asm/extable.h.
Sorry, come back with this when you can trigger this solely with the upstream
kernel.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette