Skip to content

Commit

Permalink
Merge branch '3.11-fixes' into mips-for-linux-next
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf Baechle committed Sep 6, 2013
2 parents 356948f + d451e73 commit eb37e6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/mips/mm/dma-default.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ static inline struct page *dma_addr_to_page(struct device *dev,
static inline int cpu_needs_post_dma_flush(struct device *dev)
{
return !plat_device_is_coherent(dev) &&
(current_cpu_type() == CPU_R10000 ||
current_cpu_type() == CPU_R12000 ||
current_cpu_type() == CPU_BMIPS5000);
(boot_cpu_type() == CPU_R10000 ||
boot_cpu_type() == CPU_R12000 ||
boot_cpu_type() == CPU_BMIPS5000);
}

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

0 comments on commit eb37e6d

Please sign in to comment.