Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/drivers/pic/pic-gic-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion components/drivers/pic/pic-gic-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading