s390x/kvm: Simplified the calculation of the SIGP order code
commitb8031adba791325907d8a9e19af8d483996974fd
authorThomas Huth <thuth@linux.vnet.ibm.com>
Tue, 17 Dec 2013 13:22:08 +0000 (17 14:22 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 18 Dec 2013 13:24:10 +0000 (18 14:24 +0100)
treea4ba7d4f38c52212a44092e148183881b5ae1d0c
parentb20a461fcd55d2b05e729c587244eddc60b9527f
s390x/kvm: Simplified the calculation of the SIGP order code

We've already got a helper function for calculating the
base/displacement of RS formatted instructions, so we can
get rid of the manual calculation of the SIGP order code.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/kvm.c