From 57bc78da4f185efab0bb580f74c824de1855c46e Mon Sep 17 00:00:00 2001 From: Peter Oskolkov Date: Fri, 5 Sep 2025 20:32:36 +0000 Subject: [PATCH] arch: x86_64: make MAX_SUPPORTED_CPUS_LEGACY public Signed-off-by: Peter Oskolkov --- arch/src/x86_64/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/src/x86_64/mod.rs b/arch/src/x86_64/mod.rs index 22d1a1cfe..83cb0876c 100644 --- a/arch/src/x86_64/mod.rs +++ b/arch/src/x86_64/mod.rs @@ -34,7 +34,7 @@ pub mod tdx; // While modern architectures support more than 255 CPUs via x2APIC, // legacy devices such as mptable support at most 254 CPUs. -pub(crate) const MAX_SUPPORTED_CPUS_LEGACY: u32 = 254; +pub const MAX_SUPPORTED_CPUS_LEGACY: u32 = 254; // CPUID feature bits #[cfg(feature = "kvm")]