x86: dma_*_coherent rework patchset v2, fix
commit421076e2bec1b917bdcf83da35b24f6349bf35db
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 22 Aug 2008 07:29:10 +0000 (22 16:29 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Aug 2008 08:18:26 +0000 (22 10:18 +0200)
treee0a68cdc86899ae11cf243397fa32acc1674db5c
parent0d8136ea509132c66155ca8a1e7cf60699f95c37
x86: dma_*_coherent rework patchset v2, fix

alloc_coherent dma_ops callback was added to GART, however, it doesn't
return a size aligned address wrt dma_alloc_coherent, as
DMA-mapping.txt defines. This patch fixes it.

This patch also removes unused gart_map_simple
(dma_mapping_ops->map_simple has gone).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-gart_64.c