From b46ad535973cd81a0db579e70024cdb4670ed53e Mon Sep 17 00:00:00 2001 From: Haavard Skinnemoen Date: Wed, 18 Jul 2007 20:06:04 +0200 Subject: [PATCH] --- yaml --- r: 61405 b: refs/heads/master c: 3da86ee4f1884c70edbf76f61bfbbe028d2d1685 h: refs/heads/master i: 61403: 3b315c4ef492ea51041bf53f1c457dbbdcaa23a6 v: v3 --- [refs] | 2 +- trunk/include/asm-avr32/atomic.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 91f815b738bc..f920c86a1586 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f3e26984f1794f3472a50f330c5561766faa477b +refs/heads/master: 3da86ee4f1884c70edbf76f61bfbbe028d2d1685 diff --git a/trunk/include/asm-avr32/atomic.h b/trunk/include/asm-avr32/atomic.h index b9c2548a52f3..7ef3862a73d0 100644 --- a/trunk/include/asm-avr32/atomic.h +++ b/trunk/include/asm-avr32/atomic.h @@ -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; @@ -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"); }