projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e55a70
)
dmaengine: correct onstack wait_queue_head declaration
author
Yong Zhang
<
[email protected]
>
Fri, 5 Feb 2010 13:52:37 +0000
(21:52 +0800)
committer
Dan Williams
<
[email protected]
>
Fri, 5 Feb 2010 22:35:53 +0000
(15:35 -0700)
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]
>
drivers/dma/dmatest.c
patch
|
blob
|
history
diff --git
a/drivers/dma/dmatest.c
b/drivers/dma/dmatest.c
index 8b905161fbf443b4d14036e7a425755a76b4ab3e..948d563941c92e682ec7ed923cf829594597d037 100644
(file)
--- a/
drivers/dma/dmatest.c
+++ b/
drivers/dma/dmatest.c
@@
-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);
}