Revert "BACKPORT: FROMGIT: KVM: arm64: Remove unused __sve_save_state"

This reverts commit 0b3870c036.

Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Iff67fbdfc355fb58bbb955f45dbeb89a3417a717
This commit is contained in:
Will Deacon
2022-07-07 15:56:20 +01:00
parent 3604ba34a5
commit 7944260d4d
2 changed files with 6 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ void __debug_restore_host_buffers_nvhe(struct kvm_vcpu *vcpu);
void __fpsimd_save_state(struct user_fpsimd_state *fp_regs);
void __fpsimd_restore_state(struct user_fpsimd_state *fp_regs);
void __sve_save_state(void *sve_pffr, u32 *fpsr);
void __sve_restore_state(void *sve_pffr, u32 *fpsr);
#ifndef __KVM_NVHE_HYPERVISOR__

View File

@@ -24,3 +24,8 @@ SYM_FUNC_START(__sve_restore_state)
__sve_load 0, x1, 2
ret
SYM_FUNC_END(__sve_restore_state)
SYM_FUNC_START(__sve_save_state)
sve_save 0, x1, 2
ret
SYM_FUNC_END(__sve_save_state)