Re: [PATCH 19/26] x86/tdx: Make pages shared in ioremap()

From: Borislav Petkov
Date: Mon Jan 03 2022 - 09:31:41 EST


On Mon, Jan 03, 2022 at 05:17:05PM +0300, Kirill A. Shutemov wrote:
> I'm not sure how to unwind this dependency hell. Any clues?

Forward-declaration maybe?

I.e., something like

struct task_struct;

at the top of arch/x86/include/asm/switch_to.h, for example...

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette