From: Ard Biesheuvel Date: Wed, 25 Mar 2015 06:39:21 +0000 (+0100) Subject: ARM: 8324/1: move cpu_resume() to .text section X-Git-Tag: omap-for-v4.1/fixes-rc1~142^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0776aff9a38b1390cc06ffc2c4dcf6ece7c05b9;p=pandora-kernel.git ARM: 8324/1: move cpu_resume() to .text section Move cpu_resume() to the .text section where it belongs. Change the adr reference to sleep_save_sp to an explicit PC relative reference so sleep_save_sp itself can remain in .data. This helps prevent linker failure on large kernels, as the code in the .data section may be too far away to be in range for normal b/bl instructions. Reviewed-by: Nicolas Pitre Tested-by: Sudeep Holla Signed-off-by: Ard Biesheuvel Signed-off-by: Russell King --- Reading git-diff-tree failed