This is all dead code in shim-exclusive mode, so there's no point in
building it.

Signed-off-by: Jan Beulich <[email protected]>
---
Contextually depends on "core-parking: fix build with gcc12 and NR_CPUS=1"

--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -10,7 +10,7 @@ config X86
        select ALTERNATIVE_CALL
        select ARCH_MAP_DOMAIN_PAGE
        select ARCH_SUPPORTS_INT128
-       select CORE_PARKING if NR_CPUS > 1
+       select CORE_PARKING if NR_CPUS > 1 && !PV_SHIM_EXCLUSIVE
        select HAS_ALTERNATIVE
        select HAS_COMPAT
        select HAS_CPUFREQ


Reply via email to