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 54d9552afd6a3fa511339e05c638a7015cf53412..ff952f6c63fd645a66f6e7614b22013cd51798c0 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) };
 
 /*