[fix]fix compile err in pic-gic (#9015)

fix compile err in pic-gic
This commit is contained in:
zms123456 2024-05-31 17:33:34 +08:00 committed by GitHub
parent b0f460cbad
commit ef184d2157
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ void gic_common_cpu_config(void *base, int nr, void (*sync_access)(void *), void
} }
} }
void gic_fill_ppi_affinity(bitmap_t *affinity) void gic_fill_ppi_affinity(rt_bitmap_t *affinity)
{ {
for (int cpuid = 0; cpuid < RT_CPUS_NR; ++cpuid) for (int cpuid = 0; cpuid < RT_CPUS_NR; ++cpuid)
{ {

View File

@ -43,7 +43,7 @@ rt_err_t gic_common_configure_irq(void *base, int irq, rt_uint32_t mode, void (*
void gic_common_dist_config(void *base, int max_irqs, void (*sync_access)(void *), void *data); void gic_common_dist_config(void *base, int max_irqs, void (*sync_access)(void *), void *data);
void gic_common_cpu_config(void *base, int nr, void (*sync_access)(void *), void *data); void gic_common_cpu_config(void *base, int nr, void (*sync_access)(void *), void *data);
void gic_fill_ppi_affinity(bitmap_t *affinity); void gic_fill_ppi_affinity(rt_bitmap_t *affinity);
#ifdef RT_PIC_ARM_GIC_V2M #ifdef RT_PIC_ARM_GIC_V2M
rt_err_t gicv2m_ofw_probe(struct rt_ofw_node *ic_np, const struct rt_ofw_node_id *id); rt_err_t gicv2m_ofw_probe(struct rt_ofw_node *ic_np, const struct rt_ofw_node_id *id);