Commit | Line | Data |
---|---|---|
944c67df | 1 | #include <linux/kernel.h> |
944c67df | 2 | #include <linux/dma-mapping.h> |
451d7400 | 3 | #include <linux/dma-debug.h> |
944c67df | 4 | |
451d7400 | 5 | #define PREALLOC_DMA_DEBUG_ENTRIES (1 << 15) |
944c67df | 6 | |
451d7400 | 7 | static int __init dma_init(void) |
944c67df | 8 | { |
451d7400 | 9 | dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES); |
944c67df DM |
10 | return 0; |
11 | } | |
451d7400 | 12 | fs_initcall(dma_init); |