summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authornongxiaoming <[email protected]>2020-02-11 21:39:35 +0800
committernongxiaoming <[email protected]>2020-02-11 21:39:35 +0800
commit607ed935134baba572671d79561f3ae3624610b2 (patch)
tree62920f2e2baaa97aed022dc7649894bf949813c9 /libcpu
parentdd5178efdfa8ad6943459c1284237509a78c3367 (diff)
[libcpu]context-m33:fix label error in context_gcc.S.
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/cortex-m33/context_gcc.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/cortex-m33/context_gcc.S b/libcpu/arm/cortex-m33/context_gcc.S
index 3c7dcfa3d7..18e97c631e 100644
--- a/libcpu/arm/cortex-m33/context_gcc.S
+++ b/libcpu/arm/cortex-m33/context_gcc.S
@@ -98,7 +98,7 @@ PendSV_Handler:
MSR PRIMASK, r2 /* if r1 == 0x00, do msr PRIMASK, r2 */
BX lr /* if r1 == 0x00, do bx lr */
-schedule
+schedule:
PUSH {r2} /* store interrupt state */
/* clear rt_thread_switch_interrupt_flag to 0 */