mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +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:
@@ -240,7 +240,7 @@ void send_dest_ipi_mask(uint32_t dest_mask, uint32_t vector)
|
||||
|
||||
pcpu_id = ffs64(mask);
|
||||
|
||||
while (pcpu_id < CONFIG_MAX_PCPU_NUM) {
|
||||
while (pcpu_id < MAX_PCPU_NUM) {
|
||||
bitmap32_clear_nolock(pcpu_id, &mask);
|
||||
if (is_pcpu_active(pcpu_id)) {
|
||||
icr.value_32.hi_32 = per_cpu(lapic_id, pcpu_id);
|
||||
@@ -270,7 +270,7 @@ void send_single_ipi(uint16_t pcpu_id, uint32_t vector)
|
||||
}
|
||||
|
||||
/**
|
||||
* @pre pcpu_id < CONFIG_MAX_PCPU_NUM
|
||||
* @pre pcpu_id < MAX_PCPU_NUM
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user