]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/um/include/asm/dma-mapping.h
uml: fix compile error in dma_get_cache_alignment()
[net-next-2.6.git] / arch / um / include / asm / dma-mapping.h
index b948c14a7867b309819dd50d1a90ea57963851dd..1f469e80fdd3e1ab737071bb91cf8aceee1010e6 100644 (file)
@@ -94,14 +94,6 @@ dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems,
 
 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
 #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
-#define dma_is_consistent(d, h) (1)
-
-static inline int
-dma_get_cache_alignment(void)
-{
-       BUG();
-       return(0);
-}
 
 static inline void
 dma_cache_sync(struct device *dev, void *vaddr, size_t size,