]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: avoid unnecessary low zone allocation in Calgary's alloc_coherent
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 11 Sep 2008 14:08:47 +0000 (23:08 +0900)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Sep 2008 14:43:58 +0000 (16:43 +0200)
commitf10ac8a232496bf9271cfc67c6eea432891f04a6
tree54da320913c87df4e634013b841b9063b5082511
parentbee44f294efd8417f5e68553778a6cc957af1547
x86: avoid unnecessary low zone allocation in Calgary's 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 Calgary doesn't
need it because of virtual mappings. This patch avoids unnecessary low
zone allocation.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-calgary_64.c