2015-09-02 09:24:05 +00:00
|
|
|
--- a/arch/mips/kernel/setup.c
|
|
|
|
+++ b/arch/mips/kernel/setup.c
|
2015-09-02 10:18:15 +00:00
|
|
|
@@ -675,7 +675,6 @@ static void __init arch_mem_init(char **
|
2015-09-02 09:24:05 +00:00
|
|
|
crashk_res.end - crashk_res.start + 1,
|
|
|
|
BOOTMEM_DEFAULT);
|
|
|
|
#endif
|
|
|
|
- device_tree_init();
|
|
|
|
sparse_init();
|
|
|
|
plat_swiotlb_setup();
|
|
|
|
paging_init();
|
2015-09-02 10:18:15 +00:00
|
|
|
@@ -784,6 +783,7 @@ void __init setup_arch(char **cmdline_p)
|
2015-09-02 09:24:05 +00:00
|
|
|
prefill_possible_map();
|
|
|
|
|
|
|
|
cpu_cache_init();
|
|
|
|
+ device_tree_init();
|
|
|
|
}
|
|
|
|
|
|
|
|
unsigned long kernelsp[NR_CPUS];
|