From 62bc25e6ad331162b214329b2227ac86c72716b6 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 10 Aug 2007 23:42:59 +0200 Subject: [PATCH] --- yaml --- r: 64109 b: refs/heads/master c: 6cba986298105a87a09d65baa2658fb5111459c6 h: refs/heads/master i: 64107: dd2a14395febb43df180f4e444d1e63625cf1f3d v: v3 --- [refs] | 2 +- trunk/include/asm-ia64/atomic.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 13ed7dca4ff3..3412aadae2f2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 71416bea5afa9e5a6c76c1509ab69c46c857a2bb +refs/heads/master: 6cba986298105a87a09d65baa2658fb5111459c6 diff --git a/trunk/include/asm-ia64/atomic.h b/trunk/include/asm-ia64/atomic.h index 1fc3b83325da..50c2b83fd5a0 100644 --- a/trunk/include/asm-ia64/atomic.h +++ b/trunk/include/asm-ia64/atomic.h @@ -55,7 +55,7 @@ ia64_atomic64_add (__s64 i, atomic64_t *v) do { CMPXCHG_BUGCHECK(v); - old = atomic_read(v); + old = atomic64_read(v); new = old + i; } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); return new; @@ -83,7 +83,7 @@ ia64_atomic64_sub (__s64 i, atomic64_t *v) do { CMPXCHG_BUGCHECK(v); - old = atomic_read(v); + old = atomic64_read(v); new = old - i; } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); return new;