From: Stephen Warren Date: Tue, 16 Apr 2013 17:09:09 +0000 (-0600) Subject: ARM: tegra: solve adr range issue with THUMB2_KERNEL enabled X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~71^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c312908a10677cc866b2473f4f3fabb448bdfb64;p=pandora-kernel.git ARM: tegra: solve adr range issue with THUMB2_KERNEL enabled When building the kernel with CONFIG_THUMB2_KERNEL enabled, older assemblers may emit the following error: reset-handler.S:78: Error: invalid immediate for address calculation (value = 0x00000004) Using an explicit adr.w instruction will solve this. Newer assemblers do this automatically. Use the W() macro to do this under Thumb mode only. Inspired-by: Joseph Lo Suggested-by: Dave Martin Signed-off-by: Stephen Warren Signed-off-by: Olof Johansson --- Reading git-diff-tree failed