commit | d369ddd2fc00fc3f46e9052d1017cbf407e3cdf7 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sun Jul 10 15:45:11 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 10 15:45:11 2005 -0700 |
tree | e7c91ce6639064462cb831dd0c48b9b93cad68d4 | |
parent | 9126dfde9e5efd76f9d4246819bdc7ea66de3af0 [diff] [blame] |
[SPARC64]: Add __read_mostly support. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/include/linux/cache.h b/include/linux/cache.h index 2b66a36..f6b5a46 100644 --- a/include/linux/cache.h +++ b/include/linux/cache.h
@@ -13,7 +13,7 @@ #define SMP_CACHE_BYTES L1_CACHE_BYTES #endif -#ifdef CONFIG_X86 +#if defined(CONFIG_X86) || defined(CONFIG_SPARC64) #define __read_mostly __attribute__((__section__(".data.read_mostly"))) #else #define __read_mostly