commit | 64dc81fca7f6d5c51e50ffa850640ad8358acd1f | [log] [tgz] |
---|---|---|
author | Roland Dreier <roland@topspin.com> | Mon Jun 27 14:36:40 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Mon Jun 27 15:11:44 2005 -0700 |
tree | 919ca8d2ea8567a1de4bba989a123b77340b989a | |
parent | bb2af78bcdbb8801791de33f1775c98b9178daab [diff] |
[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 <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>