pistachio: drop support for kernel 4.14
[openwrt/staging/wigyori.git] / target / linux / ramips / patches-4.14 / 0013-owrt-hack-fix-mt7688-cache-issue.patch
index 528c629649b5b2a369dd459bc35f90fc5c97bf20..47de8a5f17966c789735a8fcb401295e0d7eea0b 100644 (file)
@@ -10,15 +10,15 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 
 --- a/arch/mips/kernel/setup.c
 +++ b/arch/mips/kernel/setup.c
-@@ -902,7 +902,6 @@ static void __init arch_mem_init(char **
+@@ -910,7 +910,6 @@ static void __init arch_mem_init(char **
                                crashk_res.end - crashk_res.start + 1,
                                BOOTMEM_DEFAULT);
  #endif
 -      device_tree_init();
-       sparse_init();
-       plat_swiotlb_setup();
  
-@@ -1018,6 +1017,7 @@ void __init setup_arch(char **cmdline_p)
+       /*
+        * In order to reduce the possibility of kernel panic when failed to
+@@ -1036,6 +1035,7 @@ void __init setup_arch(char **cmdline_p)
  
        cpu_cache_init();
        paging_init();