summaryrefslogtreecommitdiff
path: root/libcpu/arm
diff options
context:
space:
mode:
authorneal <[email protected]>2019-05-12 23:17:27 -0700
committerneal <[email protected]>2019-05-13 18:36:31 -0700
commit257d21c0bdc78d87ed7a30f9b3577ceaf247fdff (patch)
tree38b2391ffc9764a8547044d2388b92c493ceaf7e /libcpu/arm
parent0dae909f66d72323f031c4c14162f32723f3effe (diff)
[bsp][at91sam9g45]Fix build bugs which caused by the change of libcpu/arm/arm926/start_gcc.S
Diffstat (limited to 'libcpu/arm')
-rw-r--r--libcpu/arm/arm926/trap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcpu/arm/arm926/trap.c b/libcpu/arm/arm926/trap.c
index de04c3f8cb..9e7ba48037 100644
--- a/libcpu/arm/arm926/trap.c
+++ b/libcpu/arm/arm926/trap.c
@@ -197,14 +197,14 @@ void rt_hw_trap_resv(struct rt_hw_register *regs)
rt_hw_cpu_shutdown();
}
-extern void rt_interrupt_dispatch(void);
+extern void rt_interrupt_dispatch(rt_uint32_t fiq_irq);
void rt_hw_trap_irq(void)
{
- rt_interrupt_dispatch();
+ rt_interrupt_dispatch(INT_IRQ);
}
void rt_hw_trap_fiq(void)
{
- rt_interrupt_dispatch();
+ rt_interrupt_dispatch(INT_FIQ);
}