diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-10-15 16:08:28 +0900 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-10-18 14:46:16 +0100 |
commit | bb9e6d65078da2f38cfe1067cfd31a896ca867c0 (patch) | |
tree | 1cfd3a2213609aeeee0bcee160ab15645dd29c38 /drivers/pcmcia/pxa2xx_palmtx.c | |
parent | f609891f428e1c20e270e7c350daf8c93cc459d7 (diff) |
intel-iommu: use coherent_dma_mask in alloc_coherent
This patch fixes intel-iommu to use dev->coherent_dma_mask in
alloc_coherent. Currently, intel-iommu uses dev->dma_mask in
alloc_coherent but alloc_coherent is supposed to use
coherent_dma_mask. It could break drivers that uses smaller
coherent_dma_mask than dma_mask (though the current code works for the
majority that use the same mask for coherent_dma_mask and dma_mask).
[dwmw2: dma_mask can be bigger than 'unsigned long']
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_palmtx.c')
0 files changed, 0 insertions, 0 deletions