summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-a/start_gcc.S
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu/arm/cortex-a/start_gcc.S')
-rw-r--r--libcpu/arm/cortex-a/start_gcc.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcpu/arm/cortex-a/start_gcc.S b/libcpu/arm/cortex-a/start_gcc.S
index 6c5dd81785..908468476e 100644
--- a/libcpu/arm/cortex-a/start_gcc.S
+++ b/libcpu/arm/cortex-a/start_gcc.S
@@ -341,6 +341,8 @@ rt_hw_context_switch_interrupt_do:
ldr r6, [r6]
ldr sp, [r6] @ get new task's stack pointer
+ bl rt_interrupt_hook
+
#ifdef RT_USING_FPU
/* fpu context */
ldmfd sp!, {r6}