[PATCH v2 4/4] x86/pv-shim: suppress core-parking logic

Jan Beulich posted 4 patches 2 years, 11 months ago
[PATCH v2 4/4] x86/pv-shim: suppress core-parking logic
Posted by Jan Beulich 2 years, 11 months ago
This is all dead code in shim-exclusive mode, so there's no point in
building it.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
Depends on "core-parking: fix build with gcc12 and NR_CPUS=1".
---
v2: Use UNCONSTRAINED.

--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -10,7 +10,7 @@ config COMPAT
 
 config CORE_PARKING
 	bool
-	depends on NR_CPUS > 1
+	depends on NR_CPUS > 1 && UNCONSTRAINED
 
 config GRANT_TABLE
 	bool "Grant table support" if EXPERT