Skip to content

Commit

Permalink
Rename .data.page_aligned to .data..page_aligned.
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information
Tim Abbott authored and Michal Marek committed Mar 3, 2010
1 parent 5f547f5 commit 75b1348
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ SECTIONS
. = ALIGN(PAGE_SIZE);
__init_end = .;

.data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET)
.data..page_aligned : AT(ADDR(.data..page_aligned) - LOAD_OFFSET)
{
PAGE_ALIGNED_DATA(PAGE_SIZE)
. = ALIGN(PAGE_SIZE);
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 @@ -225,7 +225,7 @@ SECTIONS
/* The initial task and kernel stack */
INIT_TASK_DATA_SECTION(THREAD_SIZE)

.data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET) {
.data..page_aligned : AT(ADDR(.data..page_aligned) - LOAD_OFFSET) {
PAGE_ALIGNED_DATA(PAGE_SIZE)
}

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 @@ -181,7 +181,7 @@

#define PAGE_ALIGNED_DATA(page_align) \
. = ALIGN(page_align); \
*(.data.page_aligned)
*(.data..page_aligned)

#define READ_MOSTLY_DATA(align) \
. = ALIGN(align); \
Expand Down
4 changes: 2 additions & 2 deletions include/linux/linkage.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# define asmregparm
#endif

#define __page_aligned_data __section(.data.page_aligned) __aligned(PAGE_SIZE)
#define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE)
#define __page_aligned_bss __section(.bss.page_aligned) __aligned(PAGE_SIZE)

/*
Expand All @@ -27,7 +27,7 @@
* Note when using these that you must specify the appropriate
* alignment directives yourself
*/
#define __PAGE_ALIGNED_DATA .section ".data.page_aligned", "aw"
#define __PAGE_ALIGNED_DATA .section ".data..page_aligned", "aw"
#define __PAGE_ALIGNED_BSS .section ".bss.page_aligned", "aw"

/*
Expand Down

0 comments on commit 75b1348

Please sign in to comment.