KVM: PPC: 44x: fix DCR read/write
authorAlexander Graf <agraf@suse.de>
Sat, 6 Oct 2012 01:56:35 +0000 (03:56 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:32:59 +0000 (03:32 +0000)
commitb2b7d3370d2b9ed53c9f8f9e77ae1b017cb8dd4b
treede7a512da8b2732b2248443e116a6d67d91873fd
parent247a0b330ef3bb2e642d4bec5c04aee589733a4a
KVM: PPC: 44x: fix DCR read/write

commit e43a028752fed049e4bd94ef895542f96d79fa74 upstream.

When remembering the direction of a DCR transaction, we should write
to the same variable that we interpret on later when doing vcpu_run
again.

Signed-off-by: Alexander Graf <agraf@suse.de>
[bwh: Backported to 3.2: adjust context, indentation]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/powerpc/kvm/44x_emulate.c