[PATCH] ARM: Use the correct NOP size in memmove for Thumb-2 kernel builds
From: Russell King - ARM Linux <hidden> Date: 2010-03-28 21:52:19
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.