]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: dma_*_coherent rework patchset v2, fix
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 22 Aug 2008 07:29:10 +0000 (16:29 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Aug 2008 08:18:26 +0000 (10:18 +0200)
commit421076e2bec1b917bdcf83da35b24f6349bf35db
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