]> 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)
commit5b370a94b735f02b0a09afc3dec2c485153e3647
tree9b7163fe8f2ba9f580abed36576397b409f5a3e8
parent98a6b8bc7ee97a9061e9689b80bc5cd23faf42d9
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