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:
Victor Sun
2019-12-11 12:29:21 +08:00
committed by wenlingz
parent 67b416d523
commit ea3476d22d
19 changed files with 28 additions and 28 deletions

View File

@@ -7,7 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 4U
#define MAX_PCPU_NUM 4U
#define MAX_PLATFORM_CLOS_NUM 0U
#define ROOTFS_0 "root=/dev/sda3 "

View File

@@ -7,7 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 4U
#define MAX_PCPU_NUM 4U
#define MAX_PLATFORM_CLOS_NUM 4U
#define ROOTFS_0 "root=/dev/sda3 "

View File

@@ -7,7 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 8U
#define MAX_PCPU_NUM 8U
#define MAX_PLATFORM_CLOS_NUM 0U
#define ROOTFS_0 "root=/dev/sda3 "

View File

@@ -7,7 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 4U
#define MAX_PCPU_NUM 4U
#define MAX_PLATFORM_CLOS_NUM 0U
#define ROOTFS_0 "root=/dev/sda3 "

View File

@@ -7,7 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 4U
#define MAX_PCPU_NUM 4U
#define MAX_PLATFORM_CLOS_NUM 0U
#define ROOTFS_0 "root=/dev/sda3 "

View File

@@ -7,7 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 4U
#define MAX_PCPU_NUM 4U
#define MAX_PLATFORM_CLOS_NUM 0U
#define ROOTFS_0 "root=/dev/sda3 "

View File

@@ -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 */