]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7030/1: entry: Remove unnecessary masking when decoding Thumb-2 instructions
authorDave Martin <dave.martin@linaro.org>
Fri, 19 Aug 2011 16:59:27 +0000 (17:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 22 Aug 2011 08:11:28 +0000 (09:11 +0100)
commit948e32025349faaa1cd0a55dc669cc7da095b21d
treea1808043e02fbc86d7b0082c66c895d46f9d5937
parentdb9c84ccacb0e7a7903117929cf1dc914f82fc90
ARM: 7030/1: entry: Remove unnecessary masking when decoding Thumb-2 instructions

When testing whether a Thumb-2 instruction is 32 bits long or not,
the masking done in order to test bits 11-15 of the first
instruction halfword won't affect the result of the comparison, so
remove it.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Reviewed-by: Jon Medhurst <tixy@yxit.co.uk>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-armv.S