arch: x86_64: make MAX_SUPPORTED_CPUS_LEGACY public

Signed-off-by: Peter Oskolkov <posk@google.com>
This commit is contained in:
Peter Oskolkov
2025-09-08 22:54:31 +00:00
committed by Bo Chen
parent 47cff7c37f
commit 57bc78da4f
+1 -1
View File
@@ -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")]