From: FUJITA Tomonori Date: Wed, 10 Sep 2008 11:19:40 +0000 (+0900) Subject: AMD IOMMU: avoid unnecessary low zone allocation in alloc_coherent X-Git-Tag: v2.6.28-rc1~712^2^4~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13d9fead3daa0efa1b8bb6ae59650e4453b39128;p=pandora-kernel.git AMD IOMMU: avoid unnecessary low zone allocation in alloc_coherent x86's common alloc_coherent (dma_alloc_coherent in dma-mapping.h) sets up the gfp flag according to the device dma_mask but AMD IOMMU doesn't need it for devices that the IOMMU can do virtual mappings for. This patch avoids unnecessary low zone allocation. Signed-off-by: FUJITA Tomonori Signed-off-by: Joerg Roedel Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed