aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/gart-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/gart-mapping.h')
-rw-r--r--include/asm-x86_64/gart-mapping.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-x86_64/gart-mapping.h b/include/asm-x86_64/gart-mapping.h
new file mode 100644
index 000000000000..ada497b0b55b
--- /dev/null
+++ b/include/asm-x86_64/gart-mapping.h
@@ -0,0 +1,16 @@
1#ifndef _X8664_GART_MAPPING_H
2#define _X8664_GART_MAPPING_H 1
3
4#include <linux/types.h>
5#include <asm/types.h>
6
7struct device;
8
9extern void*
10gart_alloc_coherent(struct device *dev, size_t size,
11 dma_addr_t *dma_handle, gfp_t gfp);
12
13extern int
14gart_dma_supported(struct device *hwdev, u64 mask);
15
16#endif /* _X8664_GART_MAPPING_H */