Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61405
b: refs/heads/master
c: 3da86ee
h: refs/heads/master
i:
  61403: 3b315c4
v: v3
  • Loading branch information
Haavard Skinnemoen committed Jul 18, 2007
1 parent 8443831 commit b46ad53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: f3e26984f1794f3472a50f330c5561766faa477b
refs/heads/master: 3da86ee4f1884c70edbf76f61bfbbe028d2d1685
4 changes: 2 additions & 2 deletions trunk/include/asm-avr32/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static inline int atomic_sub_unless(atomic_t *v, int a, int u)
" mov %1, 1\n"
"1:"
: "=&r"(tmp), "=&r"(result), "=o"(v->counter)
: "m"(v->counter), "rKs21"(a), "rKs21"(u)
: "m"(v->counter), "rKs21"(a), "rKs21"(u), "1"(result)
: "cc", "memory");

return result;
Expand Down Expand Up @@ -137,7 +137,7 @@ static inline int atomic_add_unless(atomic_t *v, int a, int u)
" mov %1, 1\n"
"1:"
: "=&r"(tmp), "=&r"(result), "=o"(v->counter)
: "m"(v->counter), "r"(a), "ir"(u)
: "m"(v->counter), "r"(a), "ir"(u), "1"(result)
: "cc", "memory");
}

Expand Down

0 comments on commit b46ad53

Please sign in to comment.