Skip to content

Commit

Permalink
Blackfin: fix the section name of init_thread_union
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Barry Song authored and Mike Frysinger committed Mar 9, 2010
1 parent 6feda3a commit 8916a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/blackfin/kernel/init_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ EXPORT_SYMBOL(init_task);
* "init_task" linker map entry.
*/
union thread_union init_thread_union
__attribute__ ((__section__(".init_task.data"))) = {
__init_task_data = {
INIT_THREAD_INFO(init_task)};

0 comments on commit 8916a14

Please sign in to comment.