[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:
Nicolas Pitre 2005-10-18 07:51:34 +01:00 committed by Russell King
parent c086f282c0
commit 9b15c6c4e2

View file

@ -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" \