diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2013-03-12 13:00:42 +0100 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2015-09-19 20:32:59 +0200 |
commit | 540bea4ab32149f8bc71fe34b73340c8d9abc053 (patch) | |
tree | a474a699c27f928a308f181b9a4239136e2f8f67 /fs/cifs/cifs_dfs_ref.c | |
parent | 7500415f3ba83404e452a7005b029788b4ff0d08 (diff) | |
download | kernel_samsung_espresso10-540bea4ab32149f8bc71fe34b73340c8d9abc053.zip kernel_samsung_espresso10-540bea4ab32149f8bc71fe34b73340c8d9abc053.tar.gz kernel_samsung_espresso10-540bea4ab32149f8bc71fe34b73340c8d9abc053.tar.bz2 |
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.
Change-Id: I8f122b3130626039e90110faae6bad2cc8148df7
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>
Diffstat (limited to 'fs/cifs/cifs_dfs_ref.c')
0 files changed, 0 insertions, 0 deletions