mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 00:38:28 +00:00
Rename phy_cpu_num as phys_cpu_num
phys_cpu_num is more popular than phy_cpu_num, update them through command. Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
#define DEFAULT_DEST_MODE IOAPIC_RTE_DESTLOG
|
||||
#define DEFAULT_DELIVERY_MODE IOAPIC_RTE_DELLOPRI
|
||||
#define ALL_CPUS_MASK ((1U << phy_cpu_num) - 1U)
|
||||
#define ALL_CPUS_MASK ((1U << phys_cpu_num) - 1U)
|
||||
|
||||
struct irq_desc;
|
||||
|
||||
|
@@ -41,7 +41,7 @@ struct per_cpu_region {
|
||||
} __aligned(CPU_PAGE_SIZE); //per_cpu_region size aligned with CPU_PAGE_SIZE
|
||||
|
||||
extern struct per_cpu_region *per_cpu_data_base_ptr;
|
||||
extern uint16_t phy_cpu_num;
|
||||
extern uint16_t phys_cpu_num;
|
||||
extern uint64_t pcpu_active_bitmap;
|
||||
/*
|
||||
* get percpu data for pcpu_id.
|
||||
|
@@ -75,7 +75,7 @@ struct trace_entry {
|
||||
static inline bool
|
||||
trace_check(uint16_t cpu_id, __unused int evid)
|
||||
{
|
||||
if (cpu_id >= phy_cpu_num)
|
||||
if (cpu_id >= phys_cpu_num)
|
||||
return false;
|
||||
|
||||
if (per_cpu(sbuf, cpu_id)[ACRN_TRACE] == NULL)
|
||||
|
Reference in New Issue
Block a user