projects
/
platform
/
kernel
/
linux-exynos.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
7647abf
..
fbae867
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);