aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2013-03-12 13:00:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-20 10:43:19 -0800
commitd1814ea12da067fda7bac933e06ef205163617f6 (patch)
tree0ac58de8ac0d91dda338fdbcdbf24ec47f99d645 /arch/blackfin
parente6fffec6636ffa3062891bae69a3895bbb73b148 (diff)
ARM: 7670/1: fix the memset fix
commit 418df63adac56841ef6b0f1fcf435bc64d4ed177 upstream. 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> Cc: Eric BĂ©nard <eric@eukrea.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions