diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/cache.h | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/cache.h b/arch/powerpc/include/asm/cache.h index 81de6eb3455d..3f41ab9c1e4e 100644 --- a/arch/powerpc/include/asm/cache.h +++ b/arch/powerpc/include/asm/cache.h | |||
@@ -38,7 +38,7 @@ extern struct ppc64_caches ppc64_caches; | |||
38 | #endif /* __powerpc64__ && ! __ASSEMBLY__ */ | 38 | #endif /* __powerpc64__ && ! __ASSEMBLY__ */ |
39 | 39 | ||
40 | #if !defined(__ASSEMBLY__) | 40 | #if !defined(__ASSEMBLY__) |
41 | #define __read_mostly __attribute__((__section__(".data.read_mostly"))) | 41 | #define __read_mostly __attribute__((__section__(".data..read_mostly"))) |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #endif /* __KERNEL__ */ | 44 | #endif /* __KERNEL__ */ |
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index 951e6c5b2c8e..8a0deefac08d 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -233,7 +233,7 @@ SECTIONS | |||
233 | CACHELINE_ALIGNED_DATA(L1_CACHE_BYTES) | 233 | CACHELINE_ALIGNED_DATA(L1_CACHE_BYTES) |
234 | } | 234 | } |
235 | 235 | ||
236 | .data.read_mostly : AT(ADDR(.data.read_mostly) - LOAD_OFFSET) { | 236 | .data..read_mostly : AT(ADDR(.data..read_mostly) - LOAD_OFFSET) { |
237 | READ_MOSTLY_DATA(L1_CACHE_BYTES) | 237 | READ_MOSTLY_DATA(L1_CACHE_BYTES) |
238 | } | 238 | } |
239 | 239 | ||