Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199524
b: refs/heads/master
c: 2af7687
h: refs/heads/master
v: v3
  • Loading branch information
Tim Abbott authored and Michal Marek committed Mar 3, 2010
1 parent dc8c517 commit 1b9aa92
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4af57b787b4be09419a2bb48aa705fa87ef41cca
refs/heads/master: 2af7687f1ad2c4571b9835f9bb2e3db9a738d258
2 changes: 1 addition & 1 deletion trunk/arch/ia64/kernel/init_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
* Initial task structure.
*
* 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

Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/powerpc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,7 @@ SECTIONS
#endif

/* The initial task and kernel stack */
.data.init_task : AT(ADDR(.data.init_task) - LOAD_OFFSET) {
INIT_TASK_DATA(THREAD_SIZE)
}
INIT_TASK_DATA_SECTION(THREAD_SIZE)

.data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET) {
PAGE_ALIGNED_DATA(PAGE_SIZE)
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-generic/vmlinux.lds.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@

#define INIT_TASK_DATA(align) \
. = ALIGN(align); \
*(.data.init_task)
*(.data..init_task)

/*
* Read only Data
Expand Down Expand Up @@ -435,7 +435,7 @@
*/
#define INIT_TASK_DATA_SECTION(align) \
. = ALIGN(align); \
.data.init_task : { \
.data..init_task : { \
INIT_TASK_DATA(align) \
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/init_task.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ extern struct cred init_cred;
}

/* 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

0 comments on commit 1b9aa92

Please sign in to comment.