[PATCH] x86_64: Use function pointers to call DMA mapping functions
[linux-2.6.git] / include / asm-x86_64 / gart-mapping.h
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
7 struct device;
8
9 extern void*
10 gart_alloc_coherent(struct device *dev, size_t size,
11         dma_addr_t *dma_handle, gfp_t gfp);
12
13 extern int
14 gart_dma_supported(struct device *hwdev, u64 mask);
15
16 #endif /* _X8664_GART_MAPPING_H */