KVM: PPC: Book3S HV: Use load/store_fp_state functions in HV guest entry/exit
authorPaul Mackerras <paulus@samba.org>
Tue, 15 Oct 2013 09:43:04 +0000 (20:43 +1100)
committerAlexander Graf <agraf@suse.de>
Thu, 9 Jan 2014 09:15:03 +0000 (10:15 +0100)
commit595e4f7e697e2e6fb252f6be6a83d5b9460b59a3
tree29b52d82c5eda550b77a9762a9840b5473e0ac50
parent99dae3bad28d8fdd32b7bfdd5e2ec7bb2d4d019d
KVM: PPC: Book3S HV: Use load/store_fp_state functions in HV guest entry/exit

This modifies kvmppc_load_fp and kvmppc_save_fp to use the generic
FP/VSX and VMX load/store functions instead of open-coding the
FP/VSX/VMX load/store instructions.  Since kvmppc_load/save_fp don't
follow C calling conventions, we make them private symbols within
book3s_hv_rmhandlers.S.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kvm/book3s_hv_rmhandlers.S