projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31d1b49
)
[POWERPC] Remove bogus comment in dma_direct_alloc_coherent()
author
Michael Ellerman
<michael@ellerman.id.au>
Mon, 21 Jan 2008 05:42:49 +0000
(16:42 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Fri, 25 Jan 2008 11:52:54 +0000
(22:52 +1100)
Since commit
c80d9133e99de1af607314107910a2a1645efb17
(Make direct DMA use
node local allocations) went in this comment makes no sense.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/dma_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/dma_64.c
b/arch/powerpc/kernel/dma_64.c
index 72fdc06df51e7496c55780aa94acb40d6846e2b1..84239076a5b8e8092e7ad2d607ba16b0e0cff7a9 100644
(file)
--- a/
arch/powerpc/kernel/dma_64.c
+++ b/
arch/powerpc/kernel/dma_64.c
@@
-130,7
+130,6
@@
static void *dma_direct_alloc_coherent(struct device *dev, size_t size,
void *ret;
int node = dev->archdata.numa_node;
- /* TODO: Maybe use the numa node here too ? */
page = alloc_pages_node(node, flag, get_order(size));
if (page == NULL)
return NULL;