fix return type of __atomic64_add_return
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Sat, 11 Jun 2011 18:42:06 +0000 (14:42 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Aug 2011 01:31:32 +0000 (18:31 -0700)
commitd4cf3443f9b390ae5b076a902059db190e980186
treeb2032543a53fd60afa0a48f279bad4847e47cfbc
parentec36ea64e4b31f4eba07f75bcce0a6124923d733
fix return type of __atomic64_add_return

commit 548c210fbffdb008a80fa41ff0cb3965f185583d upstream.

The return type of __atomic64_add_return of should be s64 or long, not
int.  This fixes the atomic64 test failure that I previously reported.

Signed-off-by: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/parisc/include/asm/atomic.h