bcm47xx: Refresh patches
[openwrt/staging/jow.git] / target / linux / bcm47xx / patches-5.15 / 160-kmap_coherent.patch
index b716f0cbc8ebb80330a28be4274649c7ee6b6bf3..aedf6afa246531d3c698368268bf4d59a9629049 100644 (file)
@@ -29,7 +29,7 @@ This fixes OpenWrt ticket #1485: https://dev.openwrt.org/ticket/1485
  #endif /* __ASM_MACH_BCM47XX_CPU_FEATURE_OVERRIDES_H */
 --- a/arch/mips/mm/c-r4k.c
 +++ b/arch/mips/mm/c-r4k.c
-@@ -699,7 +699,7 @@ static inline void local_r4k_flush_cache
+@@ -702,7 +702,7 @@ static inline void local_r4k_flush_cache
                map_coherent = (cpu_has_dc_aliases &&
                                page_mapcount(page) &&
                                !Page_dcache_dirty(page));
@@ -38,7 +38,7 @@ This fixes OpenWrt ticket #1485: https://dev.openwrt.org/ticket/1485
                        vaddr = kmap_coherent(page, addr);
                else
                        vaddr = kmap_atomic(page);
-@@ -721,7 +721,7 @@ static inline void local_r4k_flush_cache
+@@ -729,7 +729,7 @@ static inline void local_r4k_flush_cache
        }
  
        if (vaddr) {