mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[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>
This commit is contained in:
parent
7b0fdaa6a1
commit
d344dd52e5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue