mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +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:
@@ -658,7 +658,7 @@ static inline void clac(void)
|
||||
}
|
||||
|
||||
/*
|
||||
* @post return <= CONFIG_MAX_PCPU_NUM
|
||||
* @post return <= MAX_PCPU_NUM
|
||||
*/
|
||||
uint16_t get_pcpu_nums(void);
|
||||
bool is_pcpu_active(uint16_t pcpu_id);
|
||||
|
@@ -60,7 +60,7 @@ struct per_cpu_region {
|
||||
uint64_t tsc_suspend;
|
||||
} __aligned(PAGE_SIZE); /* per_cpu_region size aligned with PAGE_SIZE */
|
||||
|
||||
extern struct per_cpu_region per_cpu_data[CONFIG_MAX_PCPU_NUM];
|
||||
extern struct per_cpu_region per_cpu_data[MAX_PCPU_NUM];
|
||||
/*
|
||||
* get percpu data for pcpu_id.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user