debuggers.hg
changeset 10700:3243ab41b09e
[LINUX] Define dma_get_cache_alignment even on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kfraser@localhost.localdomain |
---|---|
date | Mon Jul 10 17:33:45 2006 +0100 (2006-07-10) |
parents | 8922c1fbe684 |
children | 28b766e3bcca |
files | linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h |
line diff
1.1 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h Mon Jul 10 17:18:07 2006 +0100 1.2 +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h Mon Jul 10 17:33:45 2006 +0100 1.3 @@ -120,7 +120,6 @@ dma_set_mask(struct device *dev, u64 mas 1.4 return 0; 1.5 } 1.6 1.7 -#ifdef __i386__ 1.8 static inline int 1.9 dma_get_cache_alignment(void) 1.10 { 1.11 @@ -128,7 +127,6 @@ dma_get_cache_alignment(void) 1.12 * maximum possible, to be safe */ 1.13 return (1 << INTERNODE_CACHE_SHIFT); 1.14 } 1.15 -#endif 1.16 1.17 #define dma_is_consistent(d) (1) 1.18