Correct some comments. Noted by Jouko Holopainen

This commit is contained in:
Gregory Nutt 2015-06-04 08:12:58 -06:00
parent e816afe161
commit 0488df7cf3
2 changed files with 4 additions and 4 deletions

View File

@ -90,9 +90,9 @@ up_switchcontext:
mov r0, #SYS_switch_context /* R0: context switch */
svc 0 /* Force synchronous SVCall (or Hard Fault) */
/* This call should not return */
/* We will get here only after the rerturn from the context switch */
bx lr /* Unnecessary ... will not return */
bx lr
.size up_switchcontext, .-up_switchcontext
.end

View File

@ -89,9 +89,9 @@ up_switchcontext:
mov r0, #SYS_switch_context /* R0: context switch */
svc 0 /* Force synchronous SVCall (or Hard Fault) */
/* This call should not return */
/* We will get here only after the rerturn from the context switch */
bx lr /* Unnecessary ... will not return */
bx lr
.size up_switchcontext, .-up_switchcontext
.end