summaryrefslogtreecommitdiffstats
path: root/arch/metag/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/metag/kernel/setup.c')
-rw-r--r--arch/metag/kernel/setup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c
index c396cd0..2c697d3 100644
--- a/arch/metag/kernel/setup.c
+++ b/arch/metag/kernel/setup.c
@@ -408,9 +408,7 @@ void __init setup_arch(char **cmdline_p)
cpu_2_hwthread_id[smp_processor_id()] = hard_processor_id();
hwthread_id_2_cpu[hard_processor_id()] = smp_processor_id();
- /* Copy device tree blob into non-init memory before unflattening */
- copy_fdt();
- unflatten_device_tree();
+ unflatten_and_copy_device_tree();
#ifdef CONFIG_SMP
smp_init_cpus();
OpenPOWER on IntegriCloud