summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-02-17 12:25:38 +0800
committerGitHub <[email protected]>2020-02-17 12:25:38 +0800
commit581dbe4ffa8544f4fa0e4b722560433f549cc029 (patch)
treef22962d875d5eca6d666ffa6c14f2d43327d56b8
parentc3410c7884d7b74e36f18580200d9791cd7cab15 (diff)
parent607ed935134baba572671d79561f3ae3624610b2 (diff)
Merge pull request #3370 from nongxiaoming/master
[libcpu]context-m33:fix label error in context_gcc.S
-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 */