+8
−16
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When SIGP SET_PREFIX is called with an illegal CPU id, it must return
the condition code 3 ("not operational") instead of 1. Also fixed the
order in which the checks are done - CC3 has a higher priority than CC1.
And while we're at it, this patch also get rid of the floating interrupt
lock here by using kvm_get_vcpu() to get the local_int struct of the
destination CPU.
Signed-off-by:
Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by:
Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by:
Christian Borntraeger <borntraeger@de.ibm.com>