x86: move pci-nommu's dma_mask check to common code
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 8 Sep 2008 09:10:11 +0000 (18:10 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Sep 2008 13:50:06 +0000 (15:50 +0200)
The check to see if dev->dma_mask is NULL in pci-nommu is more
appropriate for dma_alloc_coherent().

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