Commit 2af7687f authored by Tim Abbott's avatar Tim Abbott Committed by Michal Marek

Rename .data.init_task to .data..init_task.

Signed-off-by: default avatarTim Abbott <tabbott@ksplice.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDenys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 4af57b78
...@@ -23,7 +23,7 @@ static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); ...@@ -23,7 +23,7 @@ static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
* Initial task structure. * Initial task structure.
* *
* We need to make sure that this is properly aligned due to the way process stacks are * We need to make sure that this is properly aligned due to the way process stacks are
* handled. This is done by having a special ".data.init_task" section... * handled. This is done by having a special ".data..init_task" section...
*/ */
#define init_thread_info init_task_mem.s.thread_info #define init_thread_info init_task_mem.s.thread_info
......
...@@ -223,9 +223,7 @@ SECTIONS ...@@ -223,9 +223,7 @@ SECTIONS
#endif #endif
/* The initial task and kernel stack */ /* The initial task and kernel stack */
.data.init_task : AT(ADDR(.data.init_task) - LOAD_OFFSET) { INIT_TASK_DATA_SECTION(THREAD_SIZE)
INIT_TASK_DATA(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) PAGE_ALIGNED_DATA(PAGE_SIZE)
......
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
#define INIT_TASK_DATA(align) \ #define INIT_TASK_DATA(align) \
. = ALIGN(align); \ . = ALIGN(align); \
*(.data.init_task) *(.data..init_task)
/* /*
* Read only Data * Read only Data
...@@ -435,7 +435,7 @@ ...@@ -435,7 +435,7 @@
*/ */
#define INIT_TASK_DATA_SECTION(align) \ #define INIT_TASK_DATA_SECTION(align) \
. = ALIGN(align); \ . = ALIGN(align); \
.data.init_task : { \ .data..init_task : { \
INIT_TASK_DATA(align) \ INIT_TASK_DATA(align) \
} }
......
...@@ -191,7 +191,7 @@ extern struct cred init_cred; ...@@ -191,7 +191,7 @@ extern struct cred init_cred;
} }
/* Attach to the init_task data structure for proper alignment */ /* Attach to the init_task data structure for proper alignment */
#define __init_task_data __attribute__((__section__(".data.init_task"))) #define __init_task_data __attribute__((__section__(".data..init_task")))
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment