Fix cut&paste typo in atomic_fetchadd_64().
Reported by: Jia-Shiun Li <jiashiun@gmail.com> MFC after: 1 week
This commit is contained in:
parent
4926792bc9
commit
025489d337
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341679
@ -435,7 +435,7 @@ atomic_fetchadd_64(volatile uint64_t *p, uint64_t val)
|
||||
|
||||
__asm __volatile(
|
||||
"1: \n"
|
||||
" ldrexd %Q[tmp], %R[tmp], [%[ptr]] \n"
|
||||
" ldrexd %Q[ret], %R[ret], [%[ptr]] \n"
|
||||
" adds %Q[tmp], %Q[ret], %Q[val] \n"
|
||||
" adc %R[tmp], %R[ret], %R[val] \n"
|
||||
" strexd %[exf], %Q[tmp], %R[tmp], [%[ptr]] \n"
|
||||
|
Loading…
Reference in New Issue
Block a user