From: Catalin Marinas Date: Mon, 29 Mar 2010 09:29:46 +0000 (+0100) Subject: ARM: 6006/1: ARM: Use the correct NOP size in memmove for Thumb-2 kernel builds X-Git-Tag: v2.6.34-rc4~79^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd522a8dec11a08b5fdd23982193808e268be19e;p=pandora-kernel.git 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 Signed-off-by: Russell King --- Reading git-diff-tree failed