Messages in this thread Patch in this message | | | Date | Fri, 27 Jan 2006 18:21:21 -0800 | From | Greg KH <> | Subject | [patch 09/12] Mask off GFP flags before swiotlb_alloc_coherent |
| |
2.6.15.2 -stable review patch. If anyone has any objections, please let us know.
------------------
From: Andi Kleen <ak@muc.de>
Mask off GFP flags before swiotlb_alloc_coherent
Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Chris Wright <chris@sous-sol.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- arch/x86_64/kernel/pci-gart.c | 1 + 1 file changed, 1 insertion(+)
--- linux-2.6.15.1.orig/arch/x86_64/kernel/pci-gart.c +++ linux-2.6.15.1/arch/x86_64/kernel/pci-gart.c @@ -244,6 +244,7 @@ dma_alloc_coherent(struct device *dev, s get_order(size)); if (swiotlb) { + gfp &= ~(GFP_DMA32|GFP_DMA); return swiotlb_alloc_coherent(dev, size, dma_handle, -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |