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 (1 of 4 files). Show all

Unified · Split

include/linux/cache.h+1−1
@@ -13,7 +13,7 @@ · 12 unmodified lines
1313 #define SMP_CACHE_BYTES L1_CACHE_BYTES
1414 #endif
1515
16−#ifdef CONFIG_X86
16+#if defined(CONFIG_X86) || defined(CONFIG_SPARC64)
1717 #define __read_mostly __attribute__((__section__(".data.read_mostly")))
1818 #else
1919 #define __read_mostly