diff options
author | Barry Song <barry.song@analog.com> | 2010-01-05 02:16:32 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:48 -0500 |
commit | 8916a1499d958fcb9086a2c49a5fa3000689bb81 (patch) | |
tree | 4d0a94a918d1ea0d3e243e6a8195c2bb27bd66d8 /arch | |
parent | 6feda3a6530204ad73a2dc1713c051462a1d9c49 (diff) |
Blackfin: fix the section name of init_thread_union
Use the common attribute rather than setting the section name directly.
The common linker script defines expect the newer naming.
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/kernel/init_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/init_task.c b/arch/blackfin/kernel/init_task.c index 118c5b9dedac..d3970e8acd1a 100644 --- a/arch/blackfin/kernel/init_task.c +++ b/arch/blackfin/kernel/init_task.c | |||
@@ -28,5 +28,5 @@ EXPORT_SYMBOL(init_task); | |||
28 | * "init_task" linker map entry. | 28 | * "init_task" linker map entry. |
29 | */ | 29 | */ |
30 | union thread_union init_thread_union | 30 | union thread_union init_thread_union |
31 | __attribute__ ((__section__(".init_task.data"))) = { | 31 | __init_task_data = { |
32 | INIT_THREAD_INFO(init_task)}; | 32 | INIT_THREAD_INFO(init_task)}; |