summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@freescale.com>2015-12-08 12:37:19 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-12-15 11:51:42 (GMT)
commit34bfbae33ae84107d0c257edd6c6a8689a09be26 (patch)
tree5d8fbefb9caa76e73a8077217242883dd74a6945 /arch/arm/include
parentfa0708b320f6da4c1104fe56e01b7abf66fd16ad (diff)
downloadlinux-34bfbae33ae84107d0c257edd6c6a8689a09be26.tar.xz
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>
Diffstat (limited to 'arch/arm/include')
0 files changed, 0 insertions, 0 deletions