mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
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: Kautuk Consul <kconsul@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230327113320.3407491-1-kconsul@linux.vnet.ibm.com
This commit is contained in:
committed by
Michael Ellerman
parent
e83ca8cfa2
commit
5f4f53d28c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user