Shengjiu Wang 34bfbae33a ARM: 8475/1: SWP emulation: Restore original *data when failed
__user_swpX_asm maybe failed in first STREX operation, emulate_swpX
will try again, but the *data has been changed in first time. which
causes the result is wrong.
This patch is to fix this issue. When STREX succeed, change the *data.
if it fail, *data is not changed.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2015-12-15 11:51:42 +00:00
..
2015-11-10 15:06:26 -08:00
2015-11-10 10:05:17 -08:00
2015-11-10 14:48:36 -08:00
2015-11-10 14:48:36 -08:00
2015-11-10 14:48:36 -08:00
2015-10-26 10:18:41 +09:00
2015-11-10 14:48:36 -08:00
2015-11-05 13:15:12 -08:00
2015-11-10 14:48:36 -08:00
2015-10-14 17:10:55 +02:00
2015-11-28 23:26:12 +00:00