X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fcache.h;h=97e24881c4c6f477496130c982e1962e770df9eb;hb=23cf24c0c83a5a6eb39b9fa4d3843a8b9414db40;hp=cc4b3aafad9a1fda984dbe6e08bfcd09d8b3b73f;hpb=d62e54abca1146981fc9f98f85ff398a113a22c2;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 */