diff options
author | David Daney <david.daney@cavium.com> | 2013-05-23 09:49:09 -0700 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-06-03 10:58:54 +0300 |
commit | 4c73fb2b05192f2c817940b38015c36007379380 (patch) | |
tree | 3e59aae0a11547539d11ede00aa2ab6d97a480c7 /arch/mips/include/asm | |
parent | 8d17dd041a548b016ff401d36be6b2563c940ed5 (diff) | |
download | linux-stable-4c73fb2b05192f2c817940b38015c36007379380.tar.gz linux-stable-4c73fb2b05192f2c817940b38015c36007379380.tar.bz2 linux-stable-4c73fb2b05192f2c817940b38015c36007379380.zip |
mips/kvm: Fix ABI by moving manipulation of CP0 registers to KVM_{G,S}ET_ONE_REG
Because not all 256 CP0 registers are ever implemented, we need a
different method of manipulating them. Use the
KVM_SET_ONE_REG/KVM_GET_ONE_REG mechanism.
Now unused code and definitions are removed.
Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Sanjay Lal <sanjayl@kymasys.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/kvm_host.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h index 143875c6c95a..4d6fa0bf1305 100644 --- a/arch/mips/include/asm/kvm_host.h +++ b/arch/mips/include/asm/kvm_host.h @@ -496,10 +496,6 @@ struct kvm_mips_callbacks { uint32_t cause); int (*irq_clear) (struct kvm_vcpu *vcpu, unsigned int priority, uint32_t cause); - int (*vcpu_ioctl_get_regs) (struct kvm_vcpu *vcpu, - struct kvm_regs *regs); - int (*vcpu_ioctl_set_regs) (struct kvm_vcpu *vcpu, - struct kvm_regs *regs); }; extern struct kvm_mips_callbacks *kvm_mips_callbacks; int kvm_mips_emulation_init(struct kvm_mips_callbacks **install_callbacks); |