Merge branch 'for-linus' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping
[profile/ivi/kernel-adaptation-intel-automotive.git] / arch / x86 / kernel / setup.c
index 366c688..f2afee6 100644 (file)
@@ -49,6 +49,7 @@
 #include <asm/pci-direct.h>
 #include <linux/init_ohci1394_dma.h>
 #include <linux/kvm_para.h>
+#include <linux/dma-contiguous.h>
 
 #include <linux/errno.h>
 #include <linux/kernel.h>
@@ -925,6 +926,7 @@ void __init setup_arch(char **cmdline_p)
        }
 #endif
        memblock.current_limit = get_max_mapped();
+       dma_contiguous_reserve(0);
 
        /*
         * NOTE: On x86-32, only from this point on, fixmaps are ready for use.