diff options
| author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2013-03-12 13:00:42 +0100 |
|---|---|---|
| committer | Kyle Repinski <repinski23@gmail.com> | 2015-01-04 16:28:15 -0600 |
| commit | 41062d90cc33004b95b0fbd95b954a9e027c559c (patch) | |
| tree | ef86833c1ce06e00049731710109acec5be46c85 /net/lapb/lapb_timer.c | |
| parent | 28064badc05035aae0e651c0e0303ce70a777bd3 (diff) | |
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: Ib1cf34632f2dd8424866b89f8d2c6ad3272cfa48
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
