]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: allow 16-bit instructions in ALT_UP()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Apr 2015 11:59:35 +0000 (12:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 14 Apr 2015 21:26:51 +0000 (22:26 +0100)
commit3afcf8b9b13d3740d06c84f325054b7233d265cc
tree57a9a8f938fa1a986c794d07729408acf2af8dc3
parentec4b412fb330bfdc0f791600c31666db4a2be754
ARM: allow 16-bit instructions in ALT_UP()

Allow ALT_UP() to cope with a 16-bit Thumb instruction by automatically
inserting a following nop instruction.  This allows us to care less
about getting the assembler to emit a 32-bit thumb instruction.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/assembler.h