summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/init_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/init_task.c')
-rw-r--r--arch/x86/kernel/init_task.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/init_task.c b/arch/x86/kernel/init_task.c
index 270ff83efc11..3a54dcb9cd0e 100644
--- a/arch/x86/kernel/init_task.c
+++ b/arch/x86/kernel/init_task.c
@@ -20,9 +20,8 @@ static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
* way process stacks are handled. This is done by having a special
* "init_task" linker map entry..
*/
-union thread_union init_thread_union
- __attribute__((__section__(".data.init_task"))) =
- { INIT_THREAD_INFO(init_task) };
+union thread_union init_thread_union __init_task_data =
+ { INIT_THREAD_INFO(init_task) };
/*
* Initial task structure.
OpenPOWER on IntegriCloud