aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/dma-mapping_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/dma-mapping_32.h')
-rw-r--r--include/asm-x86/dma-mapping_32.h2
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 fd7246dddad..d0512c9251b 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)
{
/* no easy way to get cache size on all x86, so return the
* maximum possible, to be safe */
- return (1 << INTERNODE_CACHE_SHIFT);
+ return boot_cpu_data.x86_clflush_size;
}
#define dma_is_consistent(d, h) (1)