Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d200c922 authored by Joe Perches's avatar Joe Perches Committed by Sam Ravnborg
Browse files

Use new __init_task_data macro in arch init_task.c files.

parent 42f29a25
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -24,8 +24,7 @@ static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
 *
 * The things we do for performance..
 */
union thread_union init_thread_union
	__attribute__((__section__(".data.init_task"))) =
union thread_union init_thread_union __init_task_data =
	{ INIT_THREAD_INFO(init_task) };

/*
+2 −3
Original line number Diff line number Diff line
@@ -18,8 +18,7 @@ static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
/*
 * Initial thread structure. Must be aligned on an 8192-byte boundary.
 */
union thread_union init_thread_union
	__attribute__((__section__(".data.init_task"))) =
union thread_union init_thread_union __init_task_data =
	{ INIT_THREAD_INFO(init_task) };

/*
+2 −3
Original line number Diff line number Diff line
@@ -45,8 +45,7 @@ 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"))) =
union thread_union init_thread_union __init_task_data =
	{ INIT_THREAD_INFO(init_task) };

/*
+2 −3
Original line number Diff line number Diff line
@@ -19,8 +19,7 @@ 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"))) =
union thread_union init_thread_union __init_task_data =
	{ INIT_THREAD_INFO(init_task) };

/*
+2 −3
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ EXPORT_SYMBOL(init_task);
 * 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"))) =
union thread_union init_thread_union __init_task_data =
	{ INIT_THREAD_INFO(init_task) };
Loading