]> err.no Git - linux-2.6/commit
[Blackfin] arch: move the init sections to the end of memory
authorMike Frysinger <vapier.adi@gmail.com>
Sat, 2 Feb 2008 07:53:17 +0000 (15:53 +0800)
committerBryan Wu <bryan.wu@analog.com>
Sat, 2 Feb 2008 07:53:17 +0000 (15:53 +0800)
commitb7627acc432a36072253bb1288f56e78c7d9423e
tree1d79f1c3a68c21ec1b51428a88d8f5149dbbbbf4
parent80f31c8a03d2f0644d0ceaf14e7e0108a007c962
[Blackfin] arch: move the init sections to the end of memory

Move the init sections to the end of memory so that after they
are free, run time memory is all continugous - this should help decrease
memory fragementation.

When doing this, we also pack some of the other sections a little closer
together, to make sure we don't waste memory. To make this happen,
we need to rename the .data.init_task section to .init_task.data, so
it doesn't get picked up by the linker script glob.

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/init_task.c
arch/blackfin/kernel/setup.c
arch/blackfin/kernel/vmlinux.lds.S