From 4cccee0f3f1a91453722dbe3171fc43b2ae06af8 Mon Sep 17 00:00:00 2001 From: David Lin Date: Wed, 26 Feb 2020 23:05:33 +0800 Subject: [PATCH] Fixed typo 'swich' in cortex-m4/gcc/port_s.S typo error: swich -> switch --- arch/arm/arm-v7m/cortex-m4/gcc/port_s.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/arm-v7m/cortex-m4/gcc/port_s.S b/arch/arm/arm-v7m/cortex-m4/gcc/port_s.S index fded2b1f..84a2528d 100644 --- a/arch/arm/arm-v7m/cortex-m4/gcc/port_s.S +++ b/arch/arm/arm-v7m/cortex-m4/gcc/port_s.S @@ -66,7 +66,7 @@ port_sched_start: CPSID I @ set pendsv priority lowest - @ otherwise trigger pendsv in port_irq_context_switch will cause a context swich in irq + @ otherwise trigger pendsv in port_irq_context_switch will cause a context switch in irq @ that would be a disaster MOVW R0, #:lower16:NVIC_SYSPRI14 MOVT R0, #:upper16:NVIC_SYSPRI14