]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5326dde204f67af75ef982ccd5d3166838fe30a7
tree29b52d82c5eda550b77a9762a9840b5473e0ac50
parentc7f5865425e8c7327da2bd142f1b0f48ff9279db
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