| 
									
										
										
										
											2008-08-27 18:01:36 -07:00
										 |  |  | #include <linux/kernel.h>
 | 
					
						
							|  |  |  | #include <linux/dma-mapping.h>
 | 
					
						
							| 
									
										
										
										
											2009-08-10 11:53:17 +09:00
										 |  |  | #include <linux/dma-debug.h>
 | 
					
						
							| 
									
										
										
										
											2008-08-27 18:01:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-08-10 11:53:17 +09:00
										 |  |  | #define PREALLOC_DMA_DEBUG_ENTRIES       (1 << 15)
 | 
					
						
							| 
									
										
										
										
											2008-08-27 18:01:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-08-10 11:53:17 +09:00
										 |  |  | static int __init dma_init(void) | 
					
						
							| 
									
										
										
										
											2008-08-27 18:01:36 -07:00
										 |  |  | { | 
					
						
							| 
									
										
										
										
											2009-08-10 11:53:17 +09:00
										 |  |  | 	dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES); | 
					
						
							| 
									
										
										
										
											2008-08-27 18:01:36 -07:00
										 |  |  | 	return 0; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2009-08-10 11:53:17 +09:00
										 |  |  | fs_initcall(dma_init); |