]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Fix epsw instruction decoding
authorThomas Huth <thuth@linux.vnet.ibm.com>
Wed, 12 Jun 2013 11:54:57 +0000 (13:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Jun 2013 15:10:38 +0000 (17:10 +0200)
commitc92506d68793fc40dc92925b807b6cacb3beaaf5
tree9b7163fe8f2ba9f580abed36576397b409f5a3e8
parentf416a59552c15456a933e25b6a1b4260338376f2
KVM: s390: Fix epsw instruction decoding

The handle_epsw() function calculated the first register in the wrong way,
so that it always used r0 by mistake. Now the code uses the common helper
function for decoding the registers of rre functions instead to avoid such
mistakes.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/priv.c