[PATCH] arm64: kernel: re-export _cpu_resume() from sleep.S

Ard Biesheuvel ard.biesheuvel at linaro.org
Mon Sep 5 02:23:17 PDT 2016


Commit b5fe242972ef ("arm64: kernel: fix style issues in sleep.S")
changed the linkage of _cpu_resume() to local, even though the symbol
is also referenced from hibernate.c. So revert this change.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
---
 arch/arm64/kernel/sleep.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kernel/sleep.S b/arch/arm64/kernel/sleep.S
index 0f7e0b2ac64c..b8799e7c79de 100644
--- a/arch/arm64/kernel/sleep.S
+++ b/arch/arm64/kernel/sleep.S
@@ -107,7 +107,7 @@ ENDPROC(cpu_resume)
 	.ltorg
 	.popsection
 
-_cpu_resume:
+ENTRY(_cpu_resume)
 	mrs	x1, mpidr_el1
 	adr_l	x8, mpidr_hash		// x8 = struct mpidr_hash virt address
 
-- 
2.7.4




More information about the linux-arm-kernel mailing list