X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fcache.h;h=f6b5a46c5f827dbfa02f20252f4fcbf9d72100f9;hb=6d1d07e41a1de478a0da3cc14b4a8054ef09931c;hp=2b66a36d85f021461c7bca4fd590109470c5dc20;hpb=cc14cf46da215a9df1c0a4388763a68769ef9e53;p=linux-2.6 diff --git a/include/linux/cache.h b/include/linux/cache.h index 2b66a36d85..f6b5a46c5f 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