Skip to content

Commit

Permalink
Rename .data.read_mostly to .data..read_mostly.
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Vlasenko <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
Denys Vlasenko authored and michal42 committed Mar 3, 2010
1 parent 3d9a854 commit 54cb27a
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion arch/ia64/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
# define SMP_CACHE_BYTES (1 << 3)
#endif

#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#define __read_mostly __attribute__((__section__(".data..read_mostly")))

#endif /* _ASM_IA64_CACHE_H */
2 changes: 1 addition & 1 deletion arch/ia64/kernel/paravirtentry.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "entry.h"

#define DATA8(sym, init_value) \
.pushsection .data.read_mostly ; \
.pushsection .data..read_mostly ; \
.align 8 ; \
.global sym ; \
sym: ; \
Expand Down
2 changes: 1 addition & 1 deletion arch/ia64/xen/xensetup.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <linux/init.h>
#include <xen/interface/elfnote.h>

.section .data.read_mostly
.section .data..read_mostly
.align 8
.global xen_domain_type
xen_domain_type:
Expand Down
2 changes: 1 addition & 1 deletion arch/parisc/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#define SMP_CACHE_BYTES L1_CACHE_BYTES

#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#define __read_mostly __attribute__((__section__(".data..read_mostly")))

void parisc_cache_init(void); /* initializes cache-flushing */
void disable_sr_hashing_asm(int); /* low level support for above */
Expand Down
2 changes: 1 addition & 1 deletion arch/parisc/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ smp_slave_stext:
ENDPROC(stext)

#ifndef CONFIG_64BIT
.section .data.read_mostly
.section .data..read_mostly

.align 4
.export $global$,data
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extern struct ppc64_caches ppc64_caches;
#endif /* __powerpc64__ && ! __ASSEMBLY__ */

#if !defined(__ASSEMBLY__)
#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#define __read_mostly __attribute__((__section__(".data..read_mostly")))
#endif

#endif /* __KERNEL__ */
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ SECTIONS
CACHELINE_ALIGNED_DATA(L1_CACHE_BYTES)
}

.data.read_mostly : AT(ADDR(.data.read_mostly) - LOAD_OFFSET) {
.data..read_mostly : AT(ADDR(.data..read_mostly) - LOAD_OFFSET) {
READ_MOSTLY_DATA(L1_CACHE_BYTES)
}

Expand Down
2 changes: 1 addition & 1 deletion arch/s390/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
#define L1_CACHE_BYTES 256
#define L1_CACHE_SHIFT 8

#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#define __read_mostly __attribute__((__section__(".data..read_mostly")))

#endif
2 changes: 1 addition & 1 deletion arch/sh/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)

#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#define __read_mostly __attribute__((__section__(".data..read_mostly")))

#ifndef __ASSEMBLY__
struct cache_info {
Expand Down
2 changes: 1 addition & 1 deletion arch/sparc/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT)

#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#define __read_mostly __attribute__((__section__(".data..read_mostly")))

#ifdef CONFIG_SPARC32
#include <asm/asi.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT)
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)

#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#define __read_mostly __attribute__((__section__(".data..read_mostly")))

#define INTERNODE_CACHE_SHIFT CONFIG_X86_INTERNODE_CACHE_SHIFT
#define INTERNODE_CACHE_BYTES (1 << INTERNODE_CACHE_SHIFT)
Expand Down
2 changes: 1 addition & 1 deletion include/asm-generic/vmlinux.lds.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@

#define READ_MOSTLY_DATA(align) \
. = ALIGN(align); \
*(.data.read_mostly)
*(.data..read_mostly)

#define CACHELINE_ALIGNED_DATA(align) \
. = ALIGN(align); \
Expand Down

0 comments on commit 54cb27a

Please sign in to comment.