diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2012-01-05 13:05:51 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-01-05 13:05:51 -0500 |
commit | fda87903f4e9caf87e02d52768c2611e417b7efb (patch) | |
tree | bd2f84361699651cce5661bcfe60e3fe5ee91517 /arch/arm/kernel/setup.c | |
parent | 1a0703ede4493bd74f9c6b53f782b749e175a88e (diff) | |
parent | 2de0dbc5f6830e7659083d1929f57cb88b16a3b6 (diff) |
Merge branch 'gpio-for-grant' of git://sources.calxeda.com/kernel/linux into gpio/next
Conflicts:
drivers/gpio/gpio-pl061.c
Diffstat (limited to 'arch/arm/kernel/setup.c')
-rw-r--r-- | arch/arm/kernel/setup.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 3448a3f9cc8c..8fc2c8fcbdc6 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -895,8 +895,6 @@ void __init setup_arch(char **cmdline_p) | |||
895 | { | 895 | { |
896 | struct machine_desc *mdesc; | 896 | struct machine_desc *mdesc; |
897 | 897 | ||
898 | unwind_init(); | ||
899 | |||
900 | setup_processor(); | 898 | setup_processor(); |
901 | mdesc = setup_machine_fdt(__atags_pointer); | 899 | mdesc = setup_machine_fdt(__atags_pointer); |
902 | if (!mdesc) | 900 | if (!mdesc) |
@@ -904,6 +902,12 @@ void __init setup_arch(char **cmdline_p) | |||
904 | machine_desc = mdesc; | 902 | machine_desc = mdesc; |
905 | machine_name = mdesc->name; | 903 | machine_name = mdesc->name; |
906 | 904 | ||
905 | #ifdef CONFIG_ZONE_DMA | ||
906 | if (mdesc->dma_zone_size) { | ||
907 | extern unsigned long arm_dma_zone_size; | ||
908 | arm_dma_zone_size = mdesc->dma_zone_size; | ||
909 | } | ||
910 | #endif | ||
907 | if (mdesc->soft_reboot) | 911 | if (mdesc->soft_reboot) |
908 | reboot_setup("s"); | 912 | reboot_setup("s"); |
909 | 913 | ||
@@ -934,12 +938,6 @@ void __init setup_arch(char **cmdline_p) | |||
934 | 938 | ||
935 | tcm_init(); | 939 | tcm_init(); |
936 | 940 | ||
937 | #ifdef CONFIG_ZONE_DMA | ||
938 | if (mdesc->dma_zone_size) { | ||
939 | extern unsigned long arm_dma_zone_size; | ||
940 | arm_dma_zone_size = mdesc->dma_zone_size; | ||
941 | } | ||
942 | #endif | ||
943 | #ifdef CONFIG_MULTI_IRQ_HANDLER | 941 | #ifdef CONFIG_MULTI_IRQ_HANDLER |
944 | handle_arch_irq = mdesc->handle_irq; | 942 | handle_arch_irq = mdesc->handle_irq; |
945 | #endif | 943 | #endif |