score: make init_thread_union align to THREAD_SIZE
authorChen Liqin <liqin.chen@sunplusct.com>
Sun, 30 Aug 2009 04:36:41 +0000 (12:36 +0800)
committerChen Liqin <liqin.chen@sunplusct.com>
Sun, 30 Aug 2009 04:36:41 +0000 (12:36 +0800)
arch/score/kernel/init_task.c

index 54d9552..ff952f6 100644 (file)
@@ -35,7 +35,7 @@ static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
  * "init_task" linker map entry..
  */
 union thread_union init_thread_union
-       __attribute__((__section__(".data.init_task"))) =
+       __attribute__((__section__(".data.init_task"), __aligned__(THREAD_SIZE))) =
                { INIT_THREAD_INFO(init_task) };
 
 /*