All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: R14000: Add missing CPU_R14000 reference in cpu_needs_post_dma_flush()
@ 2014-10-08  1:17 Joshua Kinard
  2014-11-11 21:22 ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Kinard @ 2014-10-08  1:17 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Linux MIPS List

cpu_needs_post_dma_flush() in arch/mips/mm/dma-default.c is missing a check for
CPU_R14000, where it already has checks for CPU_R10000 and CPU_R12000.  This
patch adds the missing CPU_R14000 check.

Signed-off-by: Joshua Kinard <kumba@gentoo.org>
---
 arch/mips/mm/dma-default.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c
index 44b6dff..3693c91 100644
--- a/arch/mips/mm/dma-default.c
+++ b/arch/mips/mm/dma-default.c
@@ -66,6 +66,7 @@ static inline int cpu_needs_post_dma_flush(struct device *dev)
 	return !plat_device_is_coherent(dev) &&
 	       (boot_cpu_type() == CPU_R10000 ||
 		boot_cpu_type() == CPU_R12000 ||
+		boot_cpu_type() == CPU_R14000 ||
 		boot_cpu_type() == CPU_BMIPS5000);
 }

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-12  5:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08  1:17 [PATCH] MIPS: R14000: Add missing CPU_R14000 reference in cpu_needs_post_dma_flush() Joshua Kinard
2014-11-11 21:22 ` Ralf Baechle
2014-11-12  5:41   ` Joshua Kinard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.