aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cache.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-07-10 18:45:11 -0400
committerDavid S. Miller <davem@davemloft.net>2005-07-10 18:45:11 -0400
commitd369ddd2fc00fc3f46e9052d1017cbf407e3cdf7 (patch)
treee7c91ce6639064462cb831dd0c48b9b93cad68d4 /include/linux/cache.h
parent9126dfde9e5efd76f9d4246819bdc7ea66de3af0 (diff)
[SPARC64]: Add __read_mostly support.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/cache.h')
-rw-r--r--include/linux/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cache.h b/include/linux/cache.h
index 2b66a36d85f0..f6b5a46c5f82 100644
--- a/include/linux/cache.h
+++ b/include/linux/cache.h
@@ -13,7 +13,7 @@
13#define SMP_CACHE_BYTES L1_CACHE_BYTES 13#define SMP_CACHE_BYTES L1_CACHE_BYTES
14#endif 14#endif
15 15
16#ifdef CONFIG_X86 16#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#else 18#else
19#define __read_mostly 19#define __read_mostly