KVM: PPC: 44x: fix DCR read/write
authorAlexander Graf <agraf@suse.de>
Sat, 6 Oct 2012 01:56:35 +0000 (03:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:51:06 +0000 (08:51 -0800)
commit7d609c8d07b74c0a5ef7b903a9ae918d73a9a039
tree782d685ee7d5c62927193a07ef143d41d3928163
parenteb52d3018cd126254c64241e64936a6cfc0a82eb
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>
Signed-off-by: CAI Qian <caiqian@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kvm/44x_emulate.c