diff options
-rw-r--r-- | include/asm-x86/dma-mapping_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/dma-mapping_32.h b/include/asm-x86/dma-mapping_32.h index fd7246dddad4..d0512c9251b7 100644 --- a/include/asm-x86/dma-mapping_32.h +++ b/include/asm-x86/dma-mapping_32.h | |||
@@ -21,7 +21,7 @@ dma_get_cache_alignment(void) | |||
21 | { | 21 | { |
22 | /* no easy way to get cache size on all x86, so return the | 22 | /* no easy way to get cache size on all x86, so return the |
23 | * maximum possible, to be safe */ | 23 | * maximum possible, to be safe */ |
24 | return (1 << INTERNODE_CACHE_SHIFT); | 24 | return boot_cpu_data.x86_clflush_size; |
25 | } | 25 | } |
26 | 26 | ||
27 | #define dma_is_consistent(d, h) (1) | 27 | #define dma_is_consistent(d, h) (1) |