diff options
author | Preeti U Murthy <preeti@linux.vnet.ibm.com> | 2014-04-11 16:02:08 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-28 16:32:49 +1000 |
commit | 582b910edafd283dfab78f41f437a92a65ee5103 (patch) | |
tree | 2b9e435aacb14de28c5c573b09f75ab4d645d3a1 /arch/powerpc/kvm/timing.c | |
parent | fd17dc7b9a8d57150ee0121c4c83edbb7e26eece (diff) |
ppc/kvm: Clear the runlatch bit of a vcpu before napping
When the guest cedes the vcpu or the vcpu has no guest to
run it naps. Clear the runlatch bit of the vcpu before
napping to indicate an idle cpu.
Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kvm/timing.c')
0 files changed, 0 insertions, 0 deletions