From: Ard Biesheuvel Date: Tue, 25 Nov 2014 12:31:46 +0000 (+0100) Subject: ARM: 8221/1: PJ4: allow building in Thumb-2 mode X-Git-Tag: omap-for-v3.20/drop-legacy-3517~102^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13d1b9575ac2c2da143cd2236b6cf0fc314570f8;p=pandora-kernel.git ARM: 8221/1: PJ4: allow building in Thumb-2 mode Two files that get included when building the multi_v7_defconfig target fail to build when selecting THUMB2_KERNEL for this configuration. In both cases, we can just build the file as ARM code, as none of its symbols are exported to modules, so there are no interworking concerns. In the iwmmxt.S case, add ENDPROC() declarations so the symbols are annotated as functions, resulting in the linker to emit the appropriate mode switches. Acked-by: Nicolas Pitre Tested-by: Olof Johansson Signed-off-by: Ard Biesheuvel Signed-off-by: Russell King --- Reading git-diff-tree failed