diff options
| author | David Mosberger <davidm@tiger.hpl.hp.com> | 2003-07-25 03:49:16 -0700 |
|---|---|---|
| committer | David Mosberger <davidm@tiger.hpl.hp.com> | 2003-07-25 03:49:16 -0700 |
| commit | fa3fc4fe466b41cc330831596081c71a3b5c2a20 (patch) | |
| tree | 7ecc214875886b8c9f13bf6a1b494ef1f655dbfe | |
| parent | dc647a6368ab6127993567965b95529ddf12a2ec (diff) | |
ia64: Fix atomic64 interface to use __s64 instead of int where appropriate.
Reported by Richard Henderson.
| -rw-r--r-- | include/asm-ia64/atomic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-ia64/atomic.h b/include/asm-ia64/atomic.h index 93d47187a650..5b88749e54b2 100644 --- a/include/asm-ia64/atomic.h +++ b/include/asm-ia64/atomic.h @@ -47,7 +47,7 @@ ia64_atomic_add (int i, atomic_t *v) } static __inline__ int -ia64_atomic64_add (int i, atomic64_t *v) +ia64_atomic64_add (__s64 i, atomic64_t *v) { __s64 old, new; CMPXCHG_BUGCHECK_DECL @@ -75,7 +75,7 @@ ia64_atomic_sub (int i, atomic_t *v) } static __inline__ int -ia64_atomic64_sub (int i, atomic64_t *v) +ia64_atomic64_sub (__s64 i, atomic64_t *v) { __s64 old, new; CMPXCHG_BUGCHECK_DECL @@ -123,7 +123,7 @@ atomic_add_negative (int i, atomic_t *v) } static __inline__ int -atomic64_add_negative (int i, atomic64_t *v) +atomic64_add_negative (__s64 i, atomic64_t *v) { return atomic64_add_return(i, v) < 0; } |
