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:
parent
5d558f271c
commit
93930f335d
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user