]> git.karo-electronics.de Git - linux-beck.git/commit
[POWERPC] Make direct DMA use node local allocations
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 11 Nov 2006 06:25:16 +0000 (17:25 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:38:59 +0000 (20:38 +1100)
commitc80d9133e99de1af607314107910a2a1645efb17
tree9243a3ce3feba1379857150548d3975918ac0640
parent92b20c40dcca2d441f367da57e7665cce15c492a
[POWERPC] Make direct DMA use node local allocations

This patch makes dma_alloc_coherent() use node local allocation when
using the direct DMA ops. The node is obtained from the new device
extension. If no such extension is present, the current node is used.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/dma_64.c