kernel: update 4.1 to 4.1.5
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-4.1 / 160-kmap_coherent.patch
index a78bfe85ff259d9b89ace1a07cbf8e44ee62725e..2df8f0481bfbe4de323e21e1cfc9c020a89c269f 100644 (file)
@@ -21,7 +21,7 @@
  #endif /* __ASM_MACH_BCM47XX_CPU_FEATURE_OVERRIDES_H */
 --- a/arch/mips/mm/c-r4k.c
 +++ b/arch/mips/mm/c-r4k.c
-@@ -592,7 +592,7 @@ static inline void local_r4k_flush_cache
+@@ -600,7 +600,7 @@ static inline void local_r4k_flush_cache
                 */
                map_coherent = (cpu_has_dc_aliases &&
                                page_mapped(page) && !Page_dcache_dirty(page));
@@ -30,7 +30,7 @@
                        vaddr = kmap_coherent(page, addr);
                else
                        vaddr = kmap_atomic(page);
-@@ -617,7 +617,7 @@ static inline void local_r4k_flush_cache
+@@ -625,7 +625,7 @@ static inline void local_r4k_flush_cache
        }
  
        if (vaddr) {