From: Benjamin Herrenschmidt Date: Sat, 11 Nov 2006 06:25:16 +0000 (+1100) Subject: [POWERPC] Make direct DMA use node local allocations X-Git-Tag: v2.6.20-rc1~34^2~40^2~8^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c80d9133e99de1af607314107910a2a1645efb17;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed