Skip to content
Commit bb59e974 authored by Scott Wood's avatar Scott Wood Committed by Marcelo Tosatti
Browse files

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: default avatarScott Wood <scottwood@freescale.com>
Reviewed-by: default avatarChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent f22e2f04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment