Browse Source

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

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>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Ard Biesheuvel 9 năm trước cách đây
mục cha
commit
dc00247576
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      arch/arm64/kernel/sleep.S

+ 1 - 1
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