aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/dma.c
blob: b667aa6f28f648610aa0efe0c17d08c75c57daa8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <linux/kernel.h>
#include <linux/dma-mapping.h>
#include <linux/dma-debug.h>

#define PREALLOC_DMA_DEBUG_ENTRIES       (1 << 15)

static int __init dma_init(void)
{
	dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES);
	return 0;
}
fs_initcall(dma_init);