mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
HV: rename CONFIG_MAX_PCPU_NUM to MAX_PCPU_NUM
rename the macro since MAX_PCPU_NUM could be parsed from board file and it is not a configurable item anymore. Tracked-On: #4230 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -53,7 +53,7 @@ static struct acpi_table_info acpi_table_template[CONFIG_MAX_VM_NUM] = {
|
||||
.lint = 0x1U,
|
||||
},
|
||||
.lapic_array = {
|
||||
[0U ... (CONFIG_MAX_PCPU_NUM - 1U)] = {
|
||||
[0U ... (MAX_PCPU_NUM - 1U)] = {
|
||||
.header.type = ACPI_MADT_TYPE_LOCAL_APIC,
|
||||
.header.length = sizeof(struct acpi_madt_local_apic),
|
||||
.lapic_flags = 0x1U, /* Processor Enabled=1, Runtime Online Capable=0 */
|
||||
|
||||
Reference in New Issue
Block a user