MIPS: KVM: Generalise fpu_inuse for other state
authorJames Hogan <james.hogan@imgtec.com>
Tue, 14 Jun 2016 08:40:10 +0000 (09:40 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2016 09:02:48 +0000 (11:02 +0200)
commitf943176a7205a064da05f81fc94dccc4c7379010
tree4dcb7e1af560631bbb2cc63664098819fd5a4437
parent35fec26242bd3ff5a770789185852d27b44ffaec
MIPS: KVM: Generalise fpu_inuse for other state

Rename fpu_inuse and the related definitions to aux_inuse so it can be
used for lazy context management of other auxiliary processor state too,
such as VZ guest timer, watchpoints and performance counters.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/emulate.c
arch/mips/kvm/mips.c