diff mbox

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

Message ID 1473067397-2648-1-git-send-email-ard.biesheuvel@linaro.org
State Accepted
Commit dc00247576fdb97211e1959b4dfd2a7893cf9d0b
Headers show

Commit Message

Ard Biesheuvel Sept. 5, 2016, 9:23 a.m. UTC
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@linaro.org>

---
 arch/arm64/kernel/sleep.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox

Patch

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