KVM: s390: fix diagnose code extraction
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 11 Nov 2013 12:56:47 +0000 (13:56 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 28 Nov 2013 10:08:15 +0000 (11:08 +0100)
commit743db27c526e0f31cc507959d662e97e2048a86f
tree0d384e3ad7fd1f3a83ad4915a44c95a299d26afb
parent178bd789775ab29233e0553155253ec8d73af71f
KVM: s390: fix diagnose code extraction

The diagnose code to be used is the contents of the base register (if not
zero), plus the displacement. The current code ignores the base register
contents. So let's fix that...

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
arch/s390/kvm/diag.c