diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-02-08 14:13:27 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-02-19 18:01:30 +0100 |
commit | eaf7943cc53d9688aa10267a226165356e956ec5 (patch) | |
tree | 67a3945b4cada1d3f48c93a3f39c328babe34ee5 /include/asm-mips | |
parent | [MIPS] Use find_task_by_vpid in system calls (diff) | |
download | linux-eaf7943cc53d9688aa10267a226165356e956ec5.tar.xz linux-eaf7943cc53d9688aa10267a226165356e956ec5.zip |
[MIPS] IP27: Add missing ~ in DMA code.
Harmless since this function is not being called on I/O coherent systems
such as IP27.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/mach-ip27/dma-coherence.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/mach-ip27/dma-coherence.h b/include/asm-mips/mach-ip27/dma-coherence.h index 3fdbbf68e952..ed7e6222dc15 100644 --- a/include/asm-mips/mach-ip27/dma-coherence.h +++ b/include/asm-mips/mach-ip27/dma-coherence.h @@ -35,7 +35,7 @@ static dma_addr_t plat_map_dma_mem_page(struct device *dev, struct page *page) static unsigned long plat_dma_addr_to_phys(dma_addr_t dma_addr) { - return dma_addr & (0xffUL << 56); + return dma_addr & ~(0xffUL << 56); } static inline void plat_unmap_dma_mem(dma_addr_t dma_addr) |