kernel: bump 4.4 to 4.4.167
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 9070-Revert-arm64-use-fixmap-region-for-permanent-FDT-map.patch
index c247db474a3e65d6b460f589ffb60820437c2401..c4b97bcd47e74130933e0194a69dc149974125d0 100644 (file)
@@ -224,7 +224,7 @@ Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
        /*
 --- a/arch/arm64/mm/init.c
 +++ b/arch/arm64/mm/init.c
-@@ -171,6 +171,7 @@ void __init arm64_memblock_init(void)
+@@ -175,6 +175,7 @@ void __init arm64_memblock_init(void)
                memblock_reserve(__virt_to_phys(initrd_start), initrd_end - initrd_start);
  #endif
  
@@ -242,11 +242,10 @@ Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
  #include <linux/mman.h>
  #include <linux/nodemask.h>
  #include <linux/memblock.h>
-@@ -641,59 +640,3 @@ void __set_fixmap(enum fixed_addresses i
-               flush_tlb_kernel_range(addr, addr+PAGE_SIZE);
+@@ -642,62 +641,6 @@ void __set_fixmap(enum fixed_addresses i
        }
  }
--
 -void *__init fixmap_remap_fdt(phys_addr_t dt_phys)
 -{
 -      const u64 dt_virt_base = __fix_to_virt(FIX_FDT);
@@ -302,3 +301,7 @@ Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
 -
 -      return dt_virt;
 -}
+-
+ #ifdef CONFIG_HAVE_ARCH_HUGE_VMAP
+ int pud_free_pmd_page(pud_t *pud, unsigned long addr)
+ {