diff --git a/components/drivers/pic/pic-gic-common.c b/components/drivers/pic/pic-gic-common.c index 3051b04be6..07e5f0b18d 100644 --- a/components/drivers/pic/pic-gic-common.c +++ b/components/drivers/pic/pic-gic-common.c @@ -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) { diff --git a/components/drivers/pic/pic-gic-common.h b/components/drivers/pic/pic-gic-common.h index cd8dbd5875..46841e8ca7 100644 --- a/components/drivers/pic/pic-gic-common.h +++ b/components/drivers/pic/pic-gic-common.h @@ -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_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 rt_err_t gicv2m_ofw_probe(struct rt_ofw_node *ic_np, const struct rt_ofw_node_id *id);