mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 10:01:25 +00:00
[ARM] 3019/1: fix wrong comments
Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
c086f282c0
commit
9b15c6c4e2
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@
|
||||||
({ \
|
({ \
|
||||||
smp_mb(); \
|
smp_mb(); \
|
||||||
__asm__ __volatile__( \
|
__asm__ __volatile__( \
|
||||||
"@ up_op_read\n" \
|
"@ up_op_write\n" \
|
||||||
"1: ldrex lr, [%0]\n" \
|
"1: ldrex lr, [%0]\n" \
|
||||||
" adds lr, lr, %1\n" \
|
" adds lr, lr, %1\n" \
|
||||||
" strex ip, lr, [%0]\n" \
|
" strex ip, lr, [%0]\n" \
|
||||||
|
@ -231,7 +231,7 @@
|
||||||
#define __up_op_write(ptr,wake) \
|
#define __up_op_write(ptr,wake) \
|
||||||
({ \
|
({ \
|
||||||
__asm__ __volatile__( \
|
__asm__ __volatile__( \
|
||||||
"@ up_op_read\n" \
|
"@ up_op_write\n" \
|
||||||
" mrs ip, cpsr\n" \
|
" mrs ip, cpsr\n" \
|
||||||
" orr lr, ip, #128\n" \
|
" orr lr, ip, #128\n" \
|
||||||
" msr cpsr_c, lr\n" \
|
" msr cpsr_c, lr\n" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue