Commit 8916a149 authored by Barry Song's avatar Barry Song Committed by Mike Frysinger

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: default avatarBarry Song <barry.song@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 6feda3a6
...@@ -28,5 +28,5 @@ EXPORT_SYMBOL(init_task); ...@@ -28,5 +28,5 @@ EXPORT_SYMBOL(init_task);
* "init_task" linker map entry. * "init_task" linker map entry.
*/ */
union thread_union init_thread_union union thread_union init_thread_union
__attribute__ ((__section__(".init_task.data"))) = { __init_task_data = {
INIT_THREAD_INFO(init_task)}; INIT_THREAD_INFO(init_task)};
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