Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 include/linux/cache.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN include/linux/cache.h~optimise-storage-of-read-mostly-variables-x86_64-fix include/linux/cache.h
--- 25/include/linux/cache.h~optimise-storage-of-read-mostly-variables-x86_64-fix	2005-05-11 23:58:48.000000000 -0700
+++ 25-akpm/include/linux/cache.h	2005-05-11 23:59:08.000000000 -0700
@@ -25,7 +25,7 @@
 #endif /* CONFIG_SMP */
 #endif
 
-#ifdef CONFIG_X86
+#if defined(CONFIG_X86) && !defined(CONFIG_X86_64)
 #define __cacheline_aligned_mostly_readonly		\
   __attribute__((__aligned__(SMP_CACHE_BYTES),		\
 		 __section__(".data.mostly_readonly")))
_