]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit89c6bc5884e52ec004f03071f268ba3f27003aba
tree57a9a8f938fa1a986c794d07729408acf2af8dc3
parent38e42f121601fc0640c032871a38efa5a59cff68
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