diff options
author | David Daney <david.daney@cavium.com> | 2013-05-23 12:49:07 -0400 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-06-03 03:58:53 -0400 |
commit | bf32ebf66d74e8a196256d7ac2a4f3c6938c614a (patch) | |
tree | aa159215cf78c6e25eb4ea598f9a0bcbc46266ba /arch/mips/kvm | |
parent | 688cded320a4760de679160b42f9a81face02674 (diff) |
mips/kvm: Fix name of gpr field in struct kvm_regs.
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/kvm')
-rw-r--r-- | arch/mips/kvm/kvm_mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kvm/kvm_mips.c b/arch/mips/kvm/kvm_mips.c index e0dad0289797..93da7508c6b6 100644 --- a/arch/mips/kvm/kvm_mips.c +++ b/arch/mips/kvm/kvm_mips.c | |||
@@ -678,7 +678,7 @@ int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) | |||
678 | int i; | 678 | int i; |
679 | 679 | ||
680 | for (i = 0; i < 32; i++) | 680 | for (i = 0; i < 32; i++) |
681 | vcpu->arch.gprs[i] = regs->gprs[i]; | 681 | vcpu->arch.gprs[i] = regs->gpr[i]; |
682 | 682 | ||
683 | vcpu->arch.hi = regs->hi; | 683 | vcpu->arch.hi = regs->hi; |
684 | vcpu->arch.lo = regs->lo; | 684 | vcpu->arch.lo = regs->lo; |
@@ -692,7 +692,7 @@ int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) | |||
692 | int i; | 692 | int i; |
693 | 693 | ||
694 | for (i = 0; i < 32; i++) | 694 | for (i = 0; i < 32; i++) |
695 | regs->gprs[i] = vcpu->arch.gprs[i]; | 695 | regs->gpr[i] = vcpu->arch.gprs[i]; |
696 | 696 | ||
697 | regs->hi = vcpu->arch.hi; | 697 | regs->hi = vcpu->arch.hi; |
698 | regs->lo = vcpu->arch.lo; | 698 | regs->lo = vcpu->arch.lo; |