mirror of
https://github.com/apache/nuttx.git
synced 2026-06-09 02:44:53 +08:00
Correct some comments. Noted by Jouko Holopainen
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user