]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ad60cb3a95fd28613182bd8a328b6229669efd3
treeef1b7a775119b17f328f75877c56e3c4ea98082c
parent7c4d1a976d212bc6b7fa26bb4570a5f96319b4e1
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