]> 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, 12 Sep 2011 07:55:44 +0000 (08:55 +0100)
commit62211ae85fe1f823b3a885343fee11f0dd19a466
tree484bd2018b36c4e32fe7445d6b9f1719bfe8738e
parent97da3cd0aa2629b4b8e5fce93dc48ff36f62adc9
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