]> 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>
Thu, 8 Sep 2011 09:12:42 +0000 (10:12 +0100)
commit6d6e99752fdf09a242dd3cfa8f23c4d57d4b938b
treee01fe49f02abbfc2bceea5b373d19c3d32254b1c
parentec9d39bfc179e972e4d9ee23b4109e171154a7c2
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