]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/include/asm/dma-mapping.h
Merge branch 'devel-stable' into for-next
[karo-tx-linux.git] / arch / arm / include / asm / dma-mapping.h
index 28b7ee8d7398a29c0187d6d2de59d7168c8110e5..cb3b7c981c4b729c31c8dbf33c9fa4334edfc07d 100644 (file)
@@ -205,6 +205,13 @@ extern void *dma_alloc_writecombine(struct device *, size_t, dma_addr_t *,
 int dma_mmap_writecombine(struct device *, struct vm_area_struct *,
                void *, dma_addr_t, size_t);
 
+/*
+ * This can be called during boot to increase the size of the consistent
+ * DMA region above it's default value of 2MB. It must be called before the
+ * memory allocator is initialised, i.e. before any core_initcall.
+ */
+extern void __init init_consistent_dma_size(unsigned long size);
+
 
 #ifdef CONFIG_DMABOUNCE
 /*