]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: DMA: Fix computation of DMA flags from device's coherent_dma_mask.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 2 Sep 2010 21:22:23 +0000 (23:22 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Oct 2010 17:33:56 +0000 (18:33 +0100)
commitc0640b545889ba8659f53c7eb6e75c437f1e3ebb
tree3a7cc8414c582403eb87cb573b3f685fce18414f
parentdb1f3f01606262037e4c6d7d5204ba1850289d84
MIPS: DMA: Fix computation of DMA flags from device's coherent_dma_mask.

This only matters for ISA devices with a 24-bit DMA limit or for devices
with a 32-bit DMA limit on systems with ZONE_DMA32 enabled.  The latter
currently only affects 32-bit PCI cards on Sibyte-based systems with more
than 1GB RAM installed.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/dma-default.c