summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/egalax_ts.c
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2013-03-12 13:00:42 +0100
committerMahesh Mahadevan <Mahesh.Mahadevan@freescale.com>2013-07-09 11:28:42 -0500
commit08814d923d74509cfaab96c1eb121f4bf961d942 (patch)
tree6fe1e39d9ff57e4df682b9331ed2c64c0782f74a /drivers/input/touchscreen/egalax_ts.c
parentb38a0540fecd2928e758fd3af384db2fc562445e (diff)
downloadlinux-08814d923d74509cfaab96c1eb121f4bf961d942.tar.gz
ARM: 7670/1: fix the memset fix
Commit 455bd4c430b0 ("ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations") attempted to fix a compliance issue with the memset return value. However the memset itself became broken by that patch for misaligned pointers. This fixes the above by branching over the entry code from the misaligned fixup code to avoid reloading the original pointer. Also, because the function entry alignment is wrong in the Thumb mode compilation, that fixup code is moved to the end. While at it, the entry instructions are slightly reworked to help dual issue pipelines. Signed-off-by: Nicolas Pitre <nico@linaro.org> Tested-by: Alexander Holler <holler@ahsoftware.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> (cherry picked from commit 418df63adac56841ef6b0f1fcf435bc64d4ed177)
Diffstat (limited to 'drivers/input/touchscreen/egalax_ts.c')
0 files changed, 0 insertions, 0 deletions