diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-01-21 00:42:49 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-25 06:52:54 -0500 |
commit | bd83fbde5b87ba230db2ffdc70af563719792db1 (patch) | |
tree | 5e2cf24e7a0c48b45f52b2c740591a5d1e65f8a8 /arch/powerpc | |
parent | 31d1b493237c8168cd2fc0f3d40b9ad5651e6f4c (diff) |
[POWERPC] Remove bogus comment in dma_direct_alloc_coherent()
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/dma_64.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/dma_64.c b/arch/powerpc/kernel/dma_64.c index 72fdc06df51e..84239076a5b8 100644 --- 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, | |||
130 | void *ret; | 130 | void *ret; |
131 | int node = dev->archdata.numa_node; | 131 | int node = dev->archdata.numa_node; |
132 | 132 | ||
133 | /* TODO: Maybe use the numa node here too ? */ | ||
134 | page = alloc_pages_node(node, flag, get_order(size)); | 133 | page = alloc_pages_node(node, flag, get_order(size)); |
135 | if (page == NULL) | 134 | if (page == NULL) |
136 | return NULL; | 135 | return NULL; |