summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-06-09 14:19:04 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-14 11:02:38 +0200
commitd40dd9e8da02a9905dea2329c0a8404ab8436622 (patch)
tree2b85a44a3701d38943a53982b6292931ee33b309 /arch/mips/kernel/asm-offsets.c
parentb11c3f59475f4bb57b967642f362ea846302dab1 (diff)
downloadlinux-d40dd9e8da02a9905dea2329c0a8404ab8436622.tar.gz
linux-d40dd9e8da02a9905dea2329c0a8404ab8436622.tar.bz2
linux-d40dd9e8da02a9905dea2329c0a8404ab8436622.zip
MIPS: KVM: Drop unused guest_inst from kvm_vcpu_arch
The MIPS kvm_vcpu_arch::guest_inst isn't used, so drop it from the struct and drop its asm-offsets definition. 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>
Diffstat (limited to 'arch/mips/kernel/asm-offsets.c')
-rw-r--r--arch/mips/kernel/asm-offsets.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/kernel/asm-offsets.c b/arch/mips/kernel/asm-offsets.c
index 1ea973b2abb1..4d96a9033f46 100644
--- a/arch/mips/kernel/asm-offsets.c
+++ b/arch/mips/kernel/asm-offsets.c
@@ -366,8 +366,6 @@ void output_kvm_defines(void)
OFFSET(VCPU_HOST_EPC, kvm_vcpu_arch, host_cp0_epc);
OFFSET(VCPU_HOST_ENTRYHI, kvm_vcpu_arch, host_cp0_entryhi);
- OFFSET(VCPU_GUEST_INST, kvm_vcpu_arch, guest_inst);
-
OFFSET(VCPU_R0, kvm_vcpu_arch, gprs[0]);
OFFSET(VCPU_R1, kvm_vcpu_arch, gprs[1]);
OFFSET(VCPU_R2, kvm_vcpu_arch, gprs[2]);