x86: fix nommu_alloc_coherent allocation with NULL device argument
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 8 Sep 2008 09:10:12 +0000 (18:10 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Sep 2008 13:50:06 +0000 (15:50 +0200)
We need to use __GFP_DMA for NULL device argument (fallback_dev) with
pci-nommu. It's a hack for ISA (and some old code) so we need to use
GFP_DMA.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found