X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Flinux%2Fcache.h;h=97e24881c4c6f477496130c982e1962e770df9eb;hb=0ff555192a8d20385d49d1c420e2e8d409b3c0da;hp=4552504c02289239953aab738adede76c8da20f3;hpb=52ab3f3dc711eeccbfbcc5d4f5c5d9b9ff59650f;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/cache.h b/include/linux/cache.h index 4552504c022..97e24881c4c 100644 --- a/include/linux/cache.h +++ b/include/linux/cache.h @@ -60,4 +60,8 @@ #endif #endif +#ifndef CONFIG_ARCH_HAS_CACHE_LINE_SIZE +#define cache_line_size() L1_CACHE_BYTES +#endif + #endif /* __LINUX_CACHE_H */