diff options
author | Maxime Bizon <mbizon@freebox.fr> | 2007-08-31 11:03:14 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-09-10 21:25:28 +0100 |
commit | d344dd52e50f4440810b641077282bfa1fd65d88 (patch) | |
tree | 0c43bf6dbaf772ac45aab5f6c66d973bc4635749 /arch/mips/mm/dma-default.c | |
parent | 7b0fdaa6a193e0b07d9f72e942f51ce25d9e0387 (diff) | |
download | op-kernel-dev-d344dd52e50f4440810b641077282bfa1fd65d88.zip op-kernel-dev-d344dd52e50f4440810b641077282bfa1fd65d88.tar.gz |
[MIPS] R10000: Fix wrong test in dma-default.c
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/dma-default.c')
-rw-r--r-- | arch/mips/mm/dma-default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c index 76903c7..f60b3dc 100644 --- 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); } |