projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38e9156
)
[MIPS] au1xxx: dbdma, no sleeping under spin_lock
author
Domen Puncer
<domen.puncer@ultra.si>
Fri, 23 Jun 2006 09:59:50 +0000
(11:59 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 29 Jun 2006 20:10:53 +0000
(21:10 +0100)
kmalloc under spin_lock can't sleep.
Signed-off-by: Domen Puncer <domen.puncer@ultra.si>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/dbdma.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/au1000/common/dbdma.c
b/arch/mips/au1000/common/dbdma.c
index 6ee090bd86c9a78bf215179033f5a195e3542d91..e8dd72cf860a67b8df497e4a54c58b7be101dab6 100644
(file)
--- a/
arch/mips/au1000/common/dbdma.c
+++ b/
arch/mips/au1000/common/dbdma.c
@@
-290,7
+290,7
@@
au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid,
/* If kmalloc fails, it is caught below same
* as a channel not available.
*/
- ctp = kmalloc(sizeof(chan_tab_t), GFP_
KERNEL
);
+ ctp = kmalloc(sizeof(chan_tab_t), GFP_
ATOMIC
);
chan_tab_ptr[i] = ctp;
break;
}