Will Deacon df77abcafc ARM: 7099/1: futex: preserve oldval in SMP __futex_atomic_op
The SMP implementation of __futex_atomic_op clobbers oldval with the
status flag from the exclusive store. This causes it to always read as
zero when performing the FUTEX_OP_CMP_* operation.

This patch updates the ARM __futex_atomic_op implementations to take a
tmp argument, allowing us to store the strex status flag without
overwriting the register containing oldval.

Cc: stable@kernel.org
Reported-by: Minho Ban <mhban@samsung.com>
Reviewed-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-09-26 12:36:47 +01:00
..
2009-02-01 11:01:22 +05:30
2011-03-16 23:35:26 +00:00
2011-07-18 15:30:57 -04:00
2009-03-15 21:01:20 -04:00
2009-05-29 08:40:02 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-16 23:35:26 +00:00
2011-03-31 11:26:23 -03:00
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
2010-10-29 13:14:40 -05:00
2010-06-09 11:12:36 +02:00
2010-10-27 21:41:39 +01:00
2011-07-12 11:19:29 -05:00
2011-02-21 19:24:14 +00:00
2011-03-16 23:35:25 +00:00
2010-10-01 22:32:18 -04:00
2011-04-16 12:52:18 +01:00
2008-09-04 09:46:11 +01:00
2008-11-27 12:37:59 +00:00
2010-10-01 22:32:18 -04:00
2011-05-25 08:39:14 -07:00
2011-03-23 19:47:18 -07:00
2011-03-31 11:26:23 -03:00
2011-07-12 11:19:29 -05:00