ARM: 8325/1: exynos: move resume code to .text section
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 25 Mar 2015 06:41:43 +0000 (07:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Mar 2015 22:11:57 +0000 (23:11 +0100)
commit12833bacf5d904c2dac0c3f52b2ebde5f2c5a2bc
treeef1b7a775119b17f328f75877c56e3c4ea98082c
parentd0776aff9a38b1390cc06ffc2c4dcf6ece7c05b9
ARM: 8325/1: exynos: move resume code to .text section

This code calls cpu_resume() using a straight branch (b), so
now that we have moved cpu_resume() back to .text, this should
be moved there as well. Any direct references to symbols that will
remain in the .data section are replaced with explicit PC-relative
references.

Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-exynos/sleep.S