Skip to content
Commit a771fe6e authored by Catalin Marinas's avatar Catalin Marinas Committed by Russell King
Browse files

ARM: 5757/1: Thumb-2: Correct "mov.w pc, lr" instruction which is unpredictable



The 32-bit wide variant of "mov pc, reg" in Thumb-2 is unpredictable
causing improper handling of the undefined instructions not caught by
the kernel. This patch adds a movw_pc macro for such situations
(currently only used in call_fpe).

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 80f50691
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment