commit | fd522a8dec11a08b5fdd23982193808e268be19e | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Mon Mar 29 10:29:46 2010 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Mar 29 17:33:33 2010 +0100 |
tree | 0eb958250db72b19ff2e9da63c432e19be0122bb | |
parent | 782a0fd16723bfc0e765d789e82853d5dc424e76 [diff] |
ARM: 6006/1: ARM: Use the correct NOP size in memmove for Thumb-2 kernel builds When compiling the kernel to Thumb-2, using a 16-bit NOP in the memmove() implementation causes the preceding ADD PC instruction to branch incorrectly in the middle of a 32-bit LDR or STR instruction. The memmove() code is now similar to the memcpy() template. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>