History

[SPARC64]: Add __read_mostly support.

David S. Miller committed 21 years ago

Commit d369ddd1 parent 9126dfd4 files · +17 −21Browse files

Showing the changes to include/linux/cache.h (1 of 4 files). Show all

Unified · Split

include/linux/cache.h+1−1
@@ -13,7 +13,7 @@ · 12 unmodified lines
13#define SMP_CACHE_BYTES L1_CACHE_BYTES13#define SMP_CACHE_BYTES L1_CACHE_BYTES
14#endif14#endif
15 15
16#ifdef CONFIG_X8616#if defined(CONFIG_X86) || defined(CONFIG_SPARC64)
17#define __read_mostly __attribute__((__section__(".data.read_mostly")))17#define __read_mostly __attribute__((__section__(".data.read_mostly")))
18#else18#else
19#define __read_mostly19#define __read_mostly