]> err.no Git - linux-2.6/blobdiff - include/linux/cache.h
Merge git://git.skbuff.net/gitroot/yoshfuji/linux-2.6-git-rfc3542
[linux-2.6] / include / linux / cache.h
index 2b66a36d85f021461c7bca4fd590109470c5dc20..f6b5a46c5f827dbfa02f20252f4fcbf9d72100f9 100644 (file)
@@ -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