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:
8e89346
)
make dmapool code use __set_current_state()
author
Arjan van de Ven
<arjan@infradead.org>
Wed, 17 Oct 2007 06:29:32 +0000
(23:29 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:56 +0000
(08:42 -0700)
Signed-off-by: Arjan van de Ven <arjan@Linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/base/dmapool.c
patch
|
blob
|
history
diff --git
a/drivers/base/dmapool.c
b/drivers/base/dmapool.c
index 7647abfe189081dcec38eace34025899dd531a99..fbae8674e491f105269c30a1f10e1c9c4b9929cc 100644
(file)
--- a/
drivers/base/dmapool.c
+++ b/
drivers/base/dmapool.c
@@
-302,7
+302,7
@@
restart:
if (mem_flags & __GFP_WAIT) {
DECLARE_WAITQUEUE (wait, current);
-
current->state = TASK_INTERRUPTIBLE
;
+
__set_current_state(TASK_INTERRUPTIBLE)
;
add_wait_queue (&pool->waitq, &wait);
spin_unlock_irqrestore (&pool->lock, flags);