diff options
author | Nicolas Pitre <[email protected]> | 2013-03-12 13:00:42 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2013-03-12 12:18:47 +0000 |
commit | 418df63adac56841ef6b0f1fcf435bc64d4ed177 (patch) | |
tree | 08fec3f519737b2341ac5f7dbeb394d10cbb0bbc /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 455bd4c430b0c0a361f38e8658a0d6cb469942b5 (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.
Signed-off-by: Nicolas Pitre <[email protected]>
Tested-by: Alexander Holler <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions