summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/cache.h')
-rw-r--r--arch/sparc/include/asm/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/cache.h b/arch/sparc/include/asm/cache.h
index dcfd58118c11..e62fd0e72606 100644
--- a/arch/sparc/include/asm/cache.h
+++ b/arch/sparc/include/asm/cache.h
@@ -21,6 +21,6 @@
#define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT)
-#define __read_mostly __attribute__((__section__(".data..read_mostly")))
+#define __read_mostly __section(".data..read_mostly")
#endif /* !(_SPARC_CACHE_H) */