Commit 9b15c6c4 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Russell King

[ARM] 3019/1: fix wrong comments

Patch from Nicolas Pitre
Signed-off-by: default avatarNicolas Pitre <nico@cam.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c086f282
...@@ -103,7 +103,7 @@ ...@@ -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 @@ ...@@ -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" \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment