]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:46 +0000 (13:54 -0700)
commit04c735c129a5a86c6edd61743b4fb8fc6cbecfa7
tree23acb62848911e97b2aeaa133249a3d2dc23b4ae
parent879ed2486c8465ab8bd7b1bfd6f901e5589dbc16
MIPS: DMA: Fix computation of DMA flags from device's coherent_dma_mask.

commit 3b9c6c11f519718d618f5d7c9508daf78b207f6f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
arch/mips/mm/dma-default.c