diff --git a/arch/arc/core/swap.S b/arch/arc/core/swap.S index 29f50266106..6096dd19489 100644 --- a/arch/arc/core/swap.S +++ b/arch/arc/core/swap.S @@ -71,7 +71,7 @@ SECTION_FUNC(TEXT, __swap) st _CAUSE_COOP, [r2, _thread_offset_to_relinquish_cause] /* - * Carve space for the return value. Setting it to a defafult of + * Carve space for the return value. Setting it to a default of * -EAGAIN eliminates the need for the timeout code to set it. * If another value is ever needed, it can be modified with * _set_thread_return_value(). diff --git a/arch/x86/core/swap.S b/arch/x86/core/swap.S index dc585ca21ff..b57cf00cef5 100644 --- a/arch/x86/core/swap.S +++ b/arch/x86/core/swap.S @@ -127,7 +127,7 @@ SECTION_FUNC(TEXT, __swap) pushl %ebp /* - * Carve space for the return value. Setting it to a defafult of + * Carve space for the return value. Setting it to a default of * -EAGAIN eliminates the need for the timeout code to set it. * If another value is ever needed, it can be modified with * _set_thread_return_value().