summaryrefslogtreecommitdiffstats
path: root/include/linux/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-11 10:09:59 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-11 10:09:59 -0700
commitf43a64c5e1a65d12b9b53a35ed2d5db441fcb64c (patch)
tree64e83b3cce9d8e659a48cd706c59c09dc183b6dc /include/linux/cache.h
parent5c23804a0941a111752fdacefe0bea2db1b4d93f (diff)
parentf7ceba360cce9af3fbc4e5a5b1bd40b570b7021c (diff)
downloadlinux-stable-f43a64c5e1a65d12b9b53a35ed2d5db441fcb64c.tar.gz
linux-stable-f43a64c5e1a65d12b9b53a35ed2d5db441fcb64c.tar.bz2
linux-stable-f43a64c5e1a65d12b9b53a35ed2d5db441fcb64c.zip
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
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 @@
#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