Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/dma-debug.c: make locking work for RT
Interrupt enable/disabled with spinlock is not a valid operation for RT as it can make executing tasks sleep from a non-sleepable context. So convert it to spin_lock_irq[save, restore]. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Pankaj Gupta <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Niklas Söderlund <[email protected]> Cc: Vinod Koul <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Ville Syrjl <[email protected]> Cc: Miles Chen <[email protected]> Cc: Marcelo Tosatti <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Stanislaw Gruszka <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information