diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-08-08 00:45:28 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-08-08 00:45:28 -0400 |
commit | 77c7ee51a062bb595c501ec098125a68999c20c3 (patch) | |
tree | c5060ca5786ef353e005dae04b61d2c49967284d /arch/parisc/include/asm/atomic.h | |
parent | 1ba762209491e2496e58baffa3fd65d661f54404 (diff) | |
parent | 322a8b034003c0d46d39af85bf24fee27b902f48 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into sh-latest
Conflicts:
drivers/tty/serial/sh-sci.c
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/parisc/include/asm/atomic.h')
-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 b1dc71f5534e..4054b31e0fa9 100644 --- a/arch/parisc/include/asm/atomic.h +++ b/arch/parisc/include/asm/atomic.h | |||
@@ -258,10 +258,10 @@ static __inline__ int __atomic_add_unless(atomic_t *v, int a, int u) | |||
258 | 258 | ||
259 | #define ATOMIC64_INIT(i) ((atomic64_t) { (i) }) | 259 | #define ATOMIC64_INIT(i) ((atomic64_t) { (i) }) |
260 | 260 | ||
261 | static __inline__ int | 261 | static __inline__ s64 |
262 | __atomic64_add_return(s64 i, atomic64_t *v) | 262 | __atomic64_add_return(s64 i, atomic64_t *v) |
263 | { | 263 | { |
264 | int ret; | 264 | s64 ret; |
265 | unsigned long flags; | 265 | unsigned long flags; |
266 | _atomic_spin_lock_irqsave(v, flags); | 266 | _atomic_spin_lock_irqsave(v, flags); |
267 | 267 | ||