[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>

authored by Maxime Bizon and committed by Ralf Baechle d344dd52 7b0fdaa6

+1 -1
+1 -1
arch/mips/mm/dma-default.c
··· 35 static inline int cpu_is_noncoherent_r10000(struct device *dev) 36 { 37 return !plat_device_is_coherent(dev) && 38 - (current_cpu_data.cputype == CPU_R10000 && 39 current_cpu_data.cputype == CPU_R12000); 40 } 41
··· 35 static inline int cpu_is_noncoherent_r10000(struct device *dev) 36 { 37 return !plat_device_is_coherent(dev) && 38 + (current_cpu_data.cputype == CPU_R10000 || 39 current_cpu_data.cputype == CPU_R12000); 40 } 41