KVM: s390: Add helper function for setting condition code
authorThomas Huth <thuth@linux.vnet.ibm.com>
Fri, 26 Jul 2013 13:04:06 +0000 (15:04 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Jul 2013 07:03:45 +0000 (09:03 +0200)
commitea828ebf59f5b56e7261bfaeb94393c9dcb86260
tree2ec8e5669191cedccefd5ec1a435ba865e392595
parent843200e7cc5de5f482ebe8acbf81e35a1c8e4a3d
KVM: s390: Add helper function for setting condition code

Introduced a helper function for setting the CC in the
guest PSW to improve the readability of the code.

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