[PATCH] ARM: Use the correct NOP size in memmove for Thumb-2 kernel builds

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Mar 28 17:52:19 EDT 2010


On Fri, Mar 26, 2010 at 11:11:22AM +0000, Catalin Marinas wrote:
> 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 no similar to the memcpy() template.

Ok.



More information about the linux-arm-kernel mailing list