Subversion Repositories Kolibri OS

Rev

Rev 3391 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3391 Rev 4568
Line 60... Line 60...
60
 * Output the state of pools to debugfs file
60
 * Output the state of pools to debugfs file
61
 */
61
 */
62
extern int ttm_page_alloc_debugfs(struct seq_file *m, void *data);
62
extern int ttm_page_alloc_debugfs(struct seq_file *m, void *data);
Line 63... Line 63...
63
 
63
 
64
 
64
 
65
#ifdef CONFIG_SWIOTLB
65
#if defined(CONFIG_SWIOTLB) || defined(CONFIG_INTEL_IOMMU)
66
/**
66
/**
67
 * Initialize pool allocator.
67
 * Initialize pool allocator.
Line 92... Line 92...
92
 
92
 
93
static inline int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data)
93
static inline int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data)
94
{
94
{
95
	return 0;
95
	return 0;
-
 
96
}
-
 
97
static inline int ttm_dma_populate(struct ttm_dma_tt *ttm_dma,
-
 
98
				   struct device *dev)
-
 
99
{
-
 
100
	return -ENOMEM;
-
 
101
}
-
 
102
static inline void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma,
-
 
103
				      struct device *dev)
-
 
104
{
96
}
105
}
Line 97... Line 106...
97
#endif
106
#endif