diff options
author | Andrey Konovalov <andrey.konovalov@linaro.org> | 2015-03-16 20:06:20 +0300 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2015-03-16 21:50:00 +0300 |
commit | 640b0a92a0a3c7fa50f5b7a02393de8a2b62411f (patch) | |
tree | 1e63bd39089fa0eff7c08627b33453e13052a5eb | |
parent | 47b18f8702aaeb03cbb364a385f24acade3e632b (diff) |
ARM: Exynos: Fix build error with thumb2tracking-llct-misc-fixes-llct-20150330.0tracking-llct-misc-fixes-llct-20150327.0tracking-llct-misc-fixes-llct-20150316.0
Add non-global symbols to avoid build failure in thumb2 mode.
Exact the same issue and the fix as in [1]; just the variables are different.
[1] http://lists.linaro.org/pipermail/linaro-kernel/2014-June/015227.html
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
-rw-r--r-- | arch/arm/mach-exynos/sleep.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos/sleep.S b/arch/arm/mach-exynos/sleep.S index 31d25834b9c4..73f7fde2c19e 100644 --- a/arch/arm/mach-exynos/sleep.S +++ b/arch/arm/mach-exynos/sleep.S @@ -69,9 +69,9 @@ ENTRY(exynos_cpu_resume_ns) cmp r0, r1 bne skip_cp15 - adr r0, cp15_save_power + adr r0, .Lcp15_save_power ldr r1, [r0] - adr r0, cp15_save_diag + adr r0, .Lcp15_save_diag ldr r2, [r0] mov r0, #SMC_CMD_C15RESUME dsb @@ -118,9 +118,11 @@ skip_l2x0: skip_cp15: b cpu_resume ENDPROC(exynos_cpu_resume_ns) +.Lcp15_save_diag: .globl cp15_save_diag cp15_save_diag: .long 0 @ cp15 diagnostic +.Lcp15_save_power: .globl cp15_save_power cp15_save_power: .long 0 @ cp15 power control |