lkml.org 
[lkml]   [2010]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Fix ppc asm typo
Fix ppc asm typo.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

diff --git a/urcu/uatomic_arch_ppc.h b/urcu/uatomic_arch_ppc.h
index 426b0f2..bb74934 100644
--- a/urcu/uatomic_arch_ppc.h
+++ b/urcu/uatomic_arch_ppc.h
@@ -133,7 +133,7 @@ unsigned long _uatomic_cmpxchg(void *addr, unsigned long old,
"bne- 1b\n" /* retry if lost reservation */
"isync\n"
"2:\n"
- : "=&r"(old_val),
+ : "=&r"(old_val)
: "r"(addr), "r"((unsigned long)_new),
"r"((unsigned long)old)
: "memory", "cc");

\
 
 \ /
  Last update: 2010-11-29 23:33    [W:1.123 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site