Re: [PATCH] x86/irqflags: Fix build failure
From: Borislav Petkov
Date: Mon Jan 19 2026 - 11:24:26 EST
On Mon, Jan 19, 2026 at 05:02:22PM +0100, Jürgen Groß wrote:
> I'll change the commit message to:
>
> Commit 22cc5ca5de52 ("x86/paravirt: Move halt paravirt calls under
> CONFIG_PARAVIRT") moved some paravirt hooks from the CONFIG_PARAVIRT_XXL
> umbrella to CONFIG_PARAVIRT, but missed to move the associated
> "#include <asm/paravirt.h>" in irqflags.h from CONFIG_PARAVIRT_XXL to
> CONFIG_PARAVIRT.
>
> This hasn't resulted in build failures yet, as all use cases of irqflags.h
> had paravirt.h included via other header files, even without
> CONFIG_PARAVIRT_XXL being set.
>
> In order to allow changing those other header files, e.g. by no longer
> including paravirt.h, fix irqflags.h by moving inclusion of paravirt.h
> under the CONFIG_PARAVIRT umbrella.
>
> Is that fine with you?
Yap, LGTM.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette