aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/setup.c')
-rw-r--r--arch/arm/kernel/setup.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 5c7094e8f6e9..095d6611c84e 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -902,8 +902,6 @@ void __init setup_arch(char **cmdline_p)
902{ 902{
903 struct machine_desc *mdesc; 903 struct machine_desc *mdesc;
904 904
905 unwind_init();
906
907 setup_processor(); 905 setup_processor();
908 mdesc = setup_machine_fdt(__atags_pointer); 906 mdesc = setup_machine_fdt(__atags_pointer);
909 if (!mdesc) 907 if (!mdesc)
@@ -911,6 +909,12 @@ void __init setup_arch(char **cmdline_p)
911 machine_desc = mdesc; 909 machine_desc = mdesc;
912 machine_name = mdesc->name; 910 machine_name = mdesc->name;
913 911
912#ifdef CONFIG_ZONE_DMA
913 if (mdesc->dma_zone_size) {
914 extern unsigned long arm_dma_zone_size;
915 arm_dma_zone_size = mdesc->dma_zone_size;
916 }
917#endif
914 if (mdesc->restart_mode) 918 if (mdesc->restart_mode)
915 reboot_setup(&mdesc->restart_mode); 919 reboot_setup(&mdesc->restart_mode);
916 920
@@ -945,12 +949,6 @@ void __init setup_arch(char **cmdline_p)
945 949
946 tcm_init(); 950 tcm_init();
947 951
948#ifdef CONFIG_ZONE_DMA
949 if (mdesc->dma_zone_size) {
950 extern unsigned long arm_dma_zone_size;
951 arm_dma_zone_size = mdesc->dma_zone_size;
952 }
953#endif
954#ifdef CONFIG_MULTI_IRQ_HANDLER 952#ifdef CONFIG_MULTI_IRQ_HANDLER
955 handle_arch_irq = mdesc->handle_irq; 953 handle_arch_irq = mdesc->handle_irq;
956#endif 954#endif