Skip to contentSkip to conversation

arm 32v6k fix 2-byte cmpxchg comment

PATCH New Mathieu Desnoyers 1 participant 1 message Jan 17, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm 32v6k fix 2-byte cmpxchg comment

Impact: code comment fix

commit ecd322c9b3e4ac70f9f108badde3eb6b99c7993d introduced a 2-byte cmpxchg with a comment mismatch (labeled __cmpxchg1).

CC Catalin Marinas <[email protected]>
CC Nicolas Pitre <[email protected]>
CC Russell King <[email protected]>
CC Alexander Shishkin <[email protected]>
---
 arch/arm/include/asm/system.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/include/asm/system.h +1 -1
Index: linux-2.6-lttng/arch/arm/include/asm/system.h
===================================================================
@@ -375,7 +375,7 @@ static inline unsigned long __cmpxchg(vo
 		break;
 	case 2:
 		do {
-			asm volatile("@ __cmpxchg1\n"
+			asm volatile("@ __cmpxchg2\n"
 			"	ldrexh	%1, [%2]\n"
 			"	mov	%0, #0\n"
 			"	teq	%1, %3\n"
Signature · 4 lines
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com