X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sparc64%2Fcache.h;h=e9df17acedde65d0dfcaddf2dffe1802f68354f1;hb=973ed7c49a5c2271a10ce54ac06bba5617fca3a8;hp=f7d35a2ae9b8a41401b73f70b74080080ddfcba4;hpb=6150c32589d1976ca8a5c987df951088c05a7542;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-sparc64/cache.h b/include/asm-sparc64/cache.h index f7d35a2ae9b..e9df17acedd 100644 --- a/include/asm-sparc64/cache.h +++ b/include/asm-sparc64/cache.h @@ -13,4 +13,6 @@ #define SMP_CACHE_BYTES_SHIFT 6 #define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT) /* L2 cache line size. */ +#define __read_mostly __attribute__((__section__(".data.read_mostly"))) + #endif