X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Flinux%2Fcache.h;h=97e24881c4c6f477496130c982e1962e770df9eb;hb=fc99824c427ed998e3c5e376bd9c640fde1c407c;hp=cc4b3aafad9a1fda984dbe6e08bfcd09d8b3b73f;hpb=63e8d9114dab88c101be2372cb1f83a4fe74d9c1;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/cache.h b/include/linux/cache.h index cc4b3aafad9..97e24881c4c 100644 --- a/include/linux/cache.h +++ b/include/linux/cache.h @@ -2,7 +2,6 @@ #define __LINUX_CACHE_H #include -#include #include #ifndef L1_CACHE_ALIGN @@ -61,4 +60,8 @@ #endif #endif +#ifndef CONFIG_ARCH_HAS_CACHE_LINE_SIZE +#define cache_line_size() L1_CACHE_BYTES +#endif + #endif /* __LINUX_CACHE_H */