Correct some comments

This commit is contained in:
Gregory Nutt 2016-02-09 13:48:16 -06:00
parent a6eb9a351c
commit 6181711942
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ up_testset:
/* Not locked ... attempt to lock it */
strexb r2, r1, [r0] /* Attempt to set the locked state */
cmp r2, r1 /* r2 will be 1 is strexb succeeded */
cmp r2, r1 /* r2 will be 1 is strexb failed */
beq 1b /* Failed to lock... try again */
/* Lock acquired -- return SP_UNLOCKED */

View File

@ -103,7 +103,7 @@ up_testset:
/* Not locked ... attempt to lock it */
strexb r2, r1, [r0] /* Attempt to set the locked state */
cmp r2, r1 /* r2 will be 1 is strexb succeeded */
cmp r2, r1 /* r2 will be 1 is strexb failed */
beq 1b /* Failed to lock... try again */
/* Lock acquired -- return SP_UNLOCKED */