]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commita2e715a86c6dc85fb4a13c0c818637131de44cd2
tree3a7cc8414c582403eb87cb573b3f685fce18414f
parent244599469f4c5860c8a4ae8fa8c6907a10caeccf
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