]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-generic/dma-mapping.h
[PATCH] paravirt: pte clear not present
[linux-2.6-omap-h63xx.git] / include / asm-generic / dma-mapping.h
index 747d790295f3ddf02229f1a2838830f09ff22247..b541e48cc545f6c467bc5ca691731a8535df98bd 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef _ASM_GENERIC_DMA_MAPPING_H
 #define _ASM_GENERIC_DMA_MAPPING_H
 
-#include <linux/config.h>
 
 #ifdef CONFIG_PCI
 
@@ -274,7 +273,7 @@ dma_get_cache_alignment(void)
 {
        /* no easy way to get cache size on all processors, so return
         * the maximum possible, to be safe */
-       return (1 << L1_CACHE_SHIFT_MAX);
+       return (1 << INTERNODE_CACHE_SHIFT);
 }
 
 static inline void