diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/include/asm/atomic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/atomic.h b/arch/parisc/include/asm/atomic.h index f81955934aeb..26fd1146dda6 100644 --- a/arch/parisc/include/asm/atomic.h +++ b/arch/parisc/include/asm/atomic.h | |||
@@ -259,10 +259,10 @@ static __inline__ int atomic_add_unless(atomic_t *v, int a, int u) | |||
259 | 259 | ||
260 | #define ATOMIC64_INIT(i) ((atomic64_t) { (i) }) | 260 | #define ATOMIC64_INIT(i) ((atomic64_t) { (i) }) |
261 | 261 | ||
262 | static __inline__ int | 262 | static __inline__ s64 |
263 | __atomic64_add_return(s64 i, atomic64_t *v) | 263 | __atomic64_add_return(s64 i, atomic64_t *v) |
264 | { | 264 | { |
265 | int ret; | 265 | s64 ret; |
266 | unsigned long flags; | 266 | unsigned long flags; |
267 | _atomic_spin_lock_irqsave(v, flags); | 267 | _atomic_spin_lock_irqsave(v, flags); |
268 | 268 | ||