Replace B_MAX_CPU_COUNT with SMP_MAX_CPUS

Change-Id: I55c53ab35e9645e20466b09407a251571c589958
Reviewed-on: https://review.haiku-os.org/447
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Murai Takashi 2018-08-07 06:30:57 +09:00 committed by waddlesplash
parent 5d558f271c
commit 93930f335d
2 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,7 @@ struct acpi_cstate_info {
};
static acpi_cpuidle_driver_info *sAcpiProcessor[B_MAX_CPU_COUNT];
static acpi_cpuidle_driver_info *sAcpiProcessor[SMP_MAX_CPUS];
static CpuidleDevice sAcpiDevice;
static device_manager_info *sDeviceManager;
static acpi_module_info *sAcpi;

View File

@ -33,8 +33,8 @@ struct dummy_smp_msg {
static int sNumCPUs = 2;
static bool sICIEnabled = true;
static dummy_spinlock cpu_msg_spinlock[B_MAX_CPU_COUNT];
static dummy_smp_msg* smp_msgs[B_MAX_CPU_COUNT];
static dummy_spinlock cpu_msg_spinlock[SMP_MAX_CPUS];
static dummy_smp_msg* smp_msgs[SMP_MAX_CPUS];
static dummy_spinlock broadcast_msg_spinlock;
static dummy_smp_msg* smp_broadcast_msgs;