mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
dmaengine: correct onstack wait_queue_head declaration
Use DECLARE_WAIT_QUEUE_HEAD_ONSTACK to make lockdep happy Signed-off-by: Yong Zhang <[email protected]> Cc: Maciej Sosnowski <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Nicolas Ferre <[email protected]> Signed-off-by: Dan Williams <[email protected]>
This commit is contained in:
parent
7e55a70c5b
commit
b953df7c70
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ err_srcs:
|
|||
|
||||
if (iterations > 0)
|
||||
while (!kthread_should_stop()) {
|
||||
DECLARE_WAIT_QUEUE_HEAD(wait_dmatest_exit);
|
||||
DECLARE_WAIT_QUEUE_HEAD_ONSTACK(wait_dmatest_exit);
|
||||
interruptible_sleep_on(&wait_dmatest_exit);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue