0013-owrt-hack-fix-mt7688-cache-issue.patch 792 B

12345678910111213141516171819202122232425262728
  1. From 5ede027f6c4a57ed25da872420508b7f1168b36b Mon Sep 17 00:00:00 2001
  2. From: John Crispin <blogic@openwrt.org>
  3. Date: Mon, 7 Dec 2015 17:15:32 +0100
  4. Subject: [PATCH 13/53] owrt: hack: fix mt7688 cache issue
  5. Signed-off-by: John Crispin <blogic@openwrt.org>
  6. ---
  7. arch/mips/kernel/setup.c | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. --- a/arch/mips/kernel/setup.c
  10. +++ b/arch/mips/kernel/setup.c
  11. @@ -696,7 +696,6 @@ static void __init arch_mem_init(char **
  12. crashk_res.end - crashk_res.start + 1,
  13. BOOTMEM_DEFAULT);
  14. #endif
  15. - device_tree_init();
  16. sparse_init();
  17. plat_swiotlb_setup();
  18. paging_init();
  19. @@ -809,6 +808,7 @@ void __init setup_arch(char **cmdline_p)
  20. prefill_possible_map();
  21. cpu_cache_init();
  22. + device_tree_init();
  23. }
  24. unsigned long kernelsp[NR_CPUS];