summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/atomic.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-08-07 21:08:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-07 21:08:41 -0700
commitb6741d1fe947f829bd4303397fd888e1d4b66bae (patch)
treea41c8cf58ddfd82d3083b666479a82df018297f7 /arch/parisc/include/asm/atomic.h
parentacab460b0f618e1e9663eea8c52ad5edd552ed1d (diff)
parent322a8b034003c0d46d39af85bf24fee27b902f48 (diff)
downloadtalos-obmc-linux-b6741d1fe947f829bd4303397fd888e1d4b66bae.tar.gz
talos-obmc-linux-b6741d1fe947f829bd4303397fd888e1d4b66bae.zip
Merge 3.1-rc1 into usb-linus
Gives us a good starting point to base patches off of. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/parisc/include/asm/atomic.h')
-rw-r--r--arch/parisc/include/asm/atomic.h4
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)
#define ATOMIC64_INIT(i) ((atomic64_t) { (i) })
-static __inline__ int
+static __inline__ s64
__atomic64_add_return(s64 i, atomic64_t *v)
{
- int ret;
+ s64 ret;
unsigned long flags;
_atomic_spin_lock_irqsave(v, flags);
OpenPOWER on IntegriCloud