From ef184d2157f8f72ab4b934a49e73df4c87e40bd5 Mon Sep 17 00:00:00 2001 From: zms123456 <85141075+zmshahaha@users.noreply.github.com> Date: Fri, 31 May 2024 17:33:34 +0800 Subject: [PATCH] [fix]fix compile err in pic-gic (#9015) fix compile err in pic-gic --- components/drivers/pic/pic-gic-common.c | 2 +- components/drivers/pic/pic-gic-common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);