diff options
-rw-r--r-- | arch/mips/mm/dma-default.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c index 468f7f967f97..664e523653d0 100644 --- a/arch/mips/mm/dma-default.c +++ b/arch/mips/mm/dma-default.c | |||
@@ -61,9 +61,9 @@ static inline struct page *dma_addr_to_page(struct device *dev, | |||
61 | static inline int cpu_needs_post_dma_flush(struct device *dev) | 61 | static inline int cpu_needs_post_dma_flush(struct device *dev) |
62 | { | 62 | { |
63 | return !plat_device_is_coherent(dev) && | 63 | return !plat_device_is_coherent(dev) && |
64 | (current_cpu_type() == CPU_R10000 || | 64 | (boot_cpu_type() == CPU_R10000 || |
65 | current_cpu_type() == CPU_R12000 || | 65 | boot_cpu_type() == CPU_R12000 || |
66 | current_cpu_type() == CPU_BMIPS5000); | 66 | boot_cpu_type() == CPU_BMIPS5000); |
67 | } | 67 | } |
68 | 68 | ||
69 | static gfp_t massage_gfp_flags(const struct device *dev, gfp_t gfp) | 69 | static gfp_t massage_gfp_flags(const struct device *dev, gfp_t gfp) |