]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 6663/1: make Thumb2 kernel entry point more similar to the ARM one
authorNicolas Pitre <nico@fluxnic.net>
Sat, 12 Feb 2011 21:25:27 +0000 (22:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 23 Feb 2011 17:24:19 +0000 (17:24 +0000)
commit615e605fc8c4b2b27a345e70a88ff04b18f92c9a
tree381973a579e681e69472a4ee8f12e17e227d99ef
parent82e778b2cd71c1a173218462ab597c9d1c33e704
ARM: 6663/1: make Thumb2 kernel entry point more similar to the ARM one

Some installers would binary patch the kernel zImage to replace the
first few nops with custom instructions.  This breaks the Thumb2 kernel
as the mode switch is right at the beginning.  Let's move it towards the
end of the nop sequence instead.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/boot/compressed/head.S