From f0eaa1a6482f1a043f8e7669e6c41e77503bfd93 Mon Sep 17 00:00:00 2001 From: David Lin Date: Wed, 26 Feb 2020 23:15:41 +0800 Subject: [PATCH] Fixed typo 'swich' in cortex-m7/gcc/port_s.S typo error: swich -> switch --- arch/arm/arm-v7m/cortex-m7/gcc/port_s.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/arm-v7m/cortex-m7/gcc/port_s.S b/arch/arm/arm-v7m/cortex-m7/gcc/port_s.S index 8aef4770..08b5ba18 100644 --- a/arch/arm/arm-v7m/cortex-m7/gcc/port_s.S +++ b/arch/arm/arm-v7m/cortex-m7/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