summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-09-20 18:14:13 -0400
committerSam Ravnborg <sam@ravnborg.org>2009-09-21 06:27:08 +0200
commitd200c922bc2b1ac88b8d33b6cfff2ed837af186a (patch)
treebe5c04605d900380c935de58915787083667a8a2 /arch/sh
parent42f29a25207dc7b3051d299cc028d4b395d1328d (diff)
Use new __init_task_data macro in arch init_task.c files.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Tim Abbott <tabbott@ksplice.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/init_task.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sh/kernel/init_task.c b/arch/sh/kernel/init_task.c
index 1719957c0a6..11f2ea556a6 100644
--- a/arch/sh/kernel/init_task.c
+++ b/arch/sh/kernel/init_task.c
@@ -17,9 +17,8 @@ struct pt_regs fake_swapper_regs;
* 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.