summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/setup.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-07-19 00:00:42 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-07-19 00:00:42 +0200
commit07f1c295de593ec0b0dca3092299c048c03374da (patch)
treead8f291e550b3315f84c07e9f543e25adcf95dc3 /arch/arm/kernel/setup.c
parentMerge branch 'kprobes-thumb' of git://git.yxit.co.uk/linux into devel-stable (diff)
parentARM: ARM_DMA_ZONE_SIZE is no more (diff)
downloadlinux-07f1c295de593ec0b0dca3092299c048c03374da.tar.xz
linux-07f1c295de593ec0b0dca3092299c048c03374da.zip
Merge branch 'dma' of http://git.linaro.org/git/people/nico/linux into devel-stable
Diffstat (limited to 'arch/arm/kernel/setup.c')
-rw-r--r--arch/arm/kernel/setup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 7cc11c07adda..f59653d67652 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -918,6 +918,12 @@ void __init setup_arch(char **cmdline_p)
cpu_init();
tcm_init();
+#ifdef CONFIG_ZONE_DMA
+ if (mdesc->dma_zone_size) {
+ extern unsigned long arm_dma_zone_size;
+ arm_dma_zone_size = mdesc->dma_zone_size;
+ }
+#endif
#ifdef CONFIG_MULTI_IRQ_HANDLER
handle_arch_irq = mdesc->handle_irq;
#endif