Re: [PATCH v5 01/12] x86/paravirt: Move halt paravirt calls under CONFIG_PARAVIRT

From: Kuppuswamy, Sathyanarayanan
Date: Tue Aug 17 2021 - 09:50:11 EST




On 8/17/21 6:47 AM, Juergen Gross wrote:
I don't see a reason to have two "#include <asm/paravirt.h>" lines in
one file. Why don't you use:

#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
#else
#ifndef __ASSEMBLY___
...
#endif
#endif

#ifndef CONFIG_PARAVIRT_XXL
...
#endif

Ok. I will use your format.

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer