Commit 5f4f53d2 authored by Kautuk Consul's avatar Kautuk Consul Committed by Michael Ellerman

KVM: PPC: Book3S HV: kvmppc_hv_entry: remove .global scope

kvmppc_hv_entry isn't called from anywhere other than
book3s_hv_rmhandlers.S itself. Remove .global scope for this function
and annotate it with SYM_CODE_START_LOCAL and SYM_CODE_END.
Signed-off-by: default avatarKautuk Consul <kconsul@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230327113320.3407491-1-kconsul@linux.vnet.ibm.com
parent e83ca8cf
......@@ -502,8 +502,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_ARCH_207S)
* *
*****************************************************************************/
.global kvmppc_hv_entry
kvmppc_hv_entry:
SYM_CODE_START_LOCAL(kvmppc_hv_entry)
/* Required state:
*
......@@ -940,6 +939,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_HAS_PPR)
ld r4, VCPU_GPR(R4)(r4)
HRFI_TO_GUEST
b .
SYM_CODE_END(kvmppc_hv_entry)
secondary_too_late:
li r12, 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment