* [PATCH] powerpc/kvm: kvm_sregs->...sr[] were assigned twice in kvm_arch_vcpu_ioctl_get_sregs()
@ 2010-01-14 23:10 Roel Kluin
0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2010-01-14 23:10 UTC (permalink / raw)
To: Hollis Blanchard, kvm-ppc, Andrew Morton, LKML
Once is enough.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c
index 3e294bd..85bb787 100644
--- a/arch/powerpc/kvm/book3s.c
+++ b/arch/powerpc/kvm/book3s.c
@@ -777,7 +777,6 @@ int kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu *vcpu,
} else {
for (i = 0; i < 16; i++) {
sregs->u.s.ppc32.sr[i] = vcpu3s->sr[i].raw;
- sregs->u.s.ppc32.sr[i] = vcpu3s->sr[i].raw;
}
for (i = 0; i < 8; i++) {
sregs->u.s.ppc32.ibat[i] = vcpu3s->ibat[i].raw;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-14 23:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14 23:10 [PATCH] powerpc/kvm: kvm_sregs->...sr[] were assigned twice in kvm_arch_vcpu_ioctl_get_sregs() Roel Kluin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox