From: Roland Dreier Date: Mon, 27 Jun 2005 21:36:40 +0000 (-0700) Subject: [PATCH] IB/mthca: Use dma_alloc_coherent instead of pci_alloc_consistent X-Git-Tag: v2.6.13-rc1~51^2~25 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64dc81fca7f6d5c51e50ffa850640ad8358acd1f;p=pandora-kernel.git [PATCH] IB/mthca: Use dma_alloc_coherent instead of pci_alloc_consistent Switch all allocations of coherent memory from pci_alloc_consistent() to dma_alloc_coherent(), so that we can pass GFP_KERNEL. This should help when the system is low on memory. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed