arm 32v6k fix comment 2-byte cmpxchg
PATCH 1/1 arm 32v6k fix comment 2-byte cmpxchg
commit ecd322c9b3e4ac70f9f108badde3eb6b99c7993d introduced a 2-byte cmpxchg with an incorrect assembly comment (labeled __cmpxchg1).
Signed-off-by Mathieu Desnoyers <[email protected]>
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
@@ -372,7 +372,7 @@ static inline unsigned long __cmpxchg(vobreak ;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 Consultant EfficiOS Inc. http://www.efficios.com