KVM: PPC: BookE: fix sleep with interrupts disabled
authorScott Wood <scottwood@freescale.com>
Thu, 30 Sep 2010 19:28:50 +0000 (14:28 -0500)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 5 Nov 2010 16:42:28 +0000 (14:42 -0200)
commitbb59e9748f9bc95212c7fe21468ba184938c48cb
tree6b6bbf59969da08b63f5486ebd4f2741a8a07382
parentf22e2f049d4643ed3c2d498ca50f894ace87962b
KVM: PPC: BookE: fix sleep with interrupts disabled

It is not legal to call mutex_lock() with interrupts disabled.
This will assert with debug checks enabled.

If there's a real need to disable interrupts here, it could be done
after the mutex is acquired -- but I don't see why it's needed at all.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/timing.c