]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit13e9d50c4549139580e5e0f2048b84c455d5a6aa
tree4dcb7e1af560631bbb2cc63664098819fd5a4437
parentd6f4d5df4f180153e8be90ff5f6b00fb025f87fd
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