diff options
Diffstat (limited to 'arch/arm/kernel/setup.c')
-rw-r--r-- | arch/arm/kernel/setup.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index ebfac782593f..1b3096dfb964 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -81,6 +81,7 @@ __setup("fpe=", fpe_setup); | |||
81 | extern void paging_init(struct machine_desc *desc); | 81 | extern void paging_init(struct machine_desc *desc); |
82 | extern void sanity_check_meminfo(void); | 82 | extern void sanity_check_meminfo(void); |
83 | extern void reboot_setup(char *str); | 83 | extern void reboot_setup(char *str); |
84 | extern void setup_dma_zone(struct machine_desc *desc); | ||
84 | 85 | ||
85 | unsigned int processor_id; | 86 | unsigned int processor_id; |
86 | EXPORT_SYMBOL(processor_id); | 87 | EXPORT_SYMBOL(processor_id); |
@@ -939,12 +940,8 @@ void __init setup_arch(char **cmdline_p) | |||
939 | machine_desc = mdesc; | 940 | machine_desc = mdesc; |
940 | machine_name = mdesc->name; | 941 | machine_name = mdesc->name; |
941 | 942 | ||
942 | #ifdef CONFIG_ZONE_DMA | 943 | setup_dma_zone(mdesc); |
943 | if (mdesc->dma_zone_size) { | 944 | |
944 | extern unsigned long arm_dma_zone_size; | ||
945 | arm_dma_zone_size = mdesc->dma_zone_size; | ||
946 | } | ||
947 | #endif | ||
948 | if (mdesc->restart_mode) | 945 | if (mdesc->restart_mode) |
949 | reboot_setup(&mdesc->restart_mode); | 946 | reboot_setup(&mdesc->restart_mode); |
950 | 947 | ||