Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43136
b: refs/heads/master
c: 9dc452b
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Dec 7, 2006
1 parent 368ef0d commit e99bac5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4b522d7ef144fb2ad6a4cb23d9cb5ec154be8bc
refs/heads/master: 9dc452ba2d47f376987a99c0819833af0b46cc3f
6 changes: 3 additions & 3 deletions trunk/include/asm-x86_64/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ static __inline__ int atomic_add_return(int i, atomic_t *v)
{
int __i = i;
__asm__ __volatile__(
LOCK_PREFIX "xaddl %0, %1;"
:"=r"(i)
:"m"(v->counter), "0"(i));
LOCK_PREFIX "xaddl %0, %1"
:"+r" (i), "+m" (v->counter)
: : "memory");
return i + __i;
}

Expand Down

0 comments on commit e99bac5

Please sign in to comment.