projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4af2b14
)
[MIPS] R10000: Fix wrong test in dma-default.c
author
Maxime Bizon
<mbizon@freebox.fr>
Fri, 31 Aug 2007 09:03:14 +0000
(11:03 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 11 Sep 2007 18:03:25 +0000
(19:03 +0100)
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/dma-default.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/mm/dma-default.c
b/arch/mips/mm/dma-default.c
index 76903c7276475145fa1661ae8d08df5bde458747..f60b3dc0fc62cc7042a43da4678cbbf74ede163e 100644
(file)
--- a/
arch/mips/mm/dma-default.c
+++ b/
arch/mips/mm/dma-default.c
@@
-35,7
+35,7
@@
static inline unsigned long dma_addr_to_virt(dma_addr_t dma_addr)
static inline int cpu_is_noncoherent_r10000(struct device *dev)
{
return !plat_device_is_coherent(dev) &&
- (current_cpu_data.cputype == CPU_R10000
&&
+ (current_cpu_data.cputype == CPU_R10000
||
current_cpu_data.cputype == CPU_R12000);
}