X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-generic%2Fdma-mapping.h;h=b541e48cc545f6c467bc5ca691731a8535df98bd;hb=ebdea46fecae40c4d7effcd33f40918a37a1df4b;hp=747d790295f3ddf02229f1a2838830f09ff22247;hpb=a1e78db3f54d3481726ed2d3d58d8ad5b19b13d0;p=karo-tx-linux.git diff --git a/include/asm-generic/dma-mapping.h b/include/asm-generic/dma-mapping.h index 747d790295f3..b541e48cc545 100644 --- a/include/asm-generic/dma-mapping.h +++ b/include/asm-generic/dma-mapping.h @@ -7,7 +7,6 @@ #ifndef _ASM_GENERIC_DMA_MAPPING_H #define _ASM_GENERIC_DMA_MAPPING_H -#include #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