projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9101fc
)
KVM: s390: Use helper function to set CC in SIGP handler
author
Thomas Huth
<thuth@linux.vnet.ibm.com>
Tue, 26 Nov 2013 11:27:16 +0000
(12:27 +0100)
committer
Cornelia Huck
<cornelia.huck@de.ibm.com>
Wed, 11 Dec 2013 18:04:13 +0000
(19:04 +0100)
We've got a helper function for setting the condition code now,
so let's use it in the SIGP handler, too.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
arch/s390/kvm/sigp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/kvm/sigp.c
b/arch/s390/kvm/sigp.c
index c3700585b4bb447da5cdde0724952c87f9115c07..bc0d85a24b1b2f961607c54b2b3283bb95817c5b 100644
(file)
--- a/
arch/s390/kvm/sigp.c
+++ b/
arch/s390/kvm/sigp.c
@@
-435,7
+435,6
@@
int kvm_s390_handle_sigp(struct kvm_vcpu *vcpu)
if (rc < 0)
return rc;
- vcpu->arch.sie_block->gpsw.mask &= ~(3ul << 44);
- vcpu->arch.sie_block->gpsw.mask |= (rc & 3ul) << 44;
+ kvm_s390_set_psw_cc(vcpu, rc);
return 0;
}