Skip to content

Commit eb37e6d

Browse files
committed
Merge branch '3.11-fixes' into mips-for-linux-next
2 parents 356948f + d451e73 commit eb37e6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/mips/mm/dma-default.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ static inline struct page *dma_addr_to_page(struct device *dev,
6161
static inline int cpu_needs_post_dma_flush(struct device *dev)
6262
{
6363
return !plat_device_is_coherent(dev) &&
64-
(current_cpu_type() == CPU_R10000 ||
65-
current_cpu_type() == CPU_R12000 ||
66-
current_cpu_type() == CPU_BMIPS5000);
64+
(boot_cpu_type() == CPU_R10000 ||
65+
boot_cpu_type() == CPU_R12000 ||
66+
boot_cpu_type() == CPU_BMIPS5000);
6767
}
6868

6969
static gfp_t massage_gfp_flags(const struct device *dev, gfp_t gfp)

0 commit comments

Comments
 (0)