kernel: update kernel 4.9 to version 4.9.10
[openwrt/staging/yousong.git] / target / linux / ramips / patches-4.9 / 0100-prom_fixes.patch
index 50eeeea219750268273fedae375442866fb5f7f1..07042f89b1e6c3a4704432c8b9c902ad8428505f 100644 (file)
@@ -50,8 +50,8 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +      if (chosen_dtb)
 +              strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE);
  
-       of_scan_flat_dt(early_init_dt_find_memory, NULL);
-       if (memory_dtb)
+       strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE);
 --- a/arch/mips/kernel/head.S
 +++ b/arch/mips/kernel/head.S
 @@ -85,6 +85,9 @@ EXPORT(__image_cmdline)