locking, mips: Fix atomics
authorPeter Zijlstra <peterz@infradead.org>
Tue, 2 Sep 2014 20:21:26 +0000 (22:21 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Sep 2014 09:45:06 +0000 (11:45 +0200)
commitda4c54457e6d8262423aded4bcbccc4103049506
tree0dfed5231a18a1caa9b855ba526b24d046b2c295
parentcaa17d49f9a5cc09b3bbb101dc640f914f3b4ff7
locking, mips: Fix atomics

The patch folding the atomic ops had two silly fails in the _return
primitives.

Fixes: ef31563e950c ("locking,arch,mips: Fold atomic_ops")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Bart Van Assche <bvanassche@acm.org>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Maciej W. Rozycki <macro@codesourcery.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Link: http://lkml.kernel.org/r/20140902202126.GA3190@worktop.ger.corp.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/mips/include/asm/atomic.h