From: Ard Biesheuvel Date: Sat, 21 Sep 2013 10:23:50 +0000 (+0100) Subject: ARM: 7837/3: fix Thumb-2 bug in AES assembler code X-Git-Tag: v3.12-rc3~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40190c85f427dcfdbab5dbef4ffd2510d649da1f;p=pandora-kernel.git ARM: 7837/3: fix Thumb-2 bug in AES assembler code Patch 638591c enabled building the AES assembler code in Thumb2 mode. However, this code used arithmetic involving PC rather than adr{l} instructions to generate PC-relative references to the lookup tables, and this needs to take into account the different PC offset when running in Thumb mode. Signed-off-by: Ard Biesheuvel Acked-by: Nicolas Pitre Cc: stable@vger.kernel.org Signed-off-by: Russell King --- Reading git-diff-tree failed