microblaze: Cleanup compiled-in rootfs in BSS section
authorMichal Simek <monstr@monstr.eu>
Tue, 19 May 2009 12:33:47 +0000 (14:33 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 21 May 2009 14:39:16 +0000 (16:39 +0200)
commitcda1fd5a60e97a1a1bf96606f201818b207b2c5c
tree33bc265a4182985778f80a0efc25f0a26fd0aa7e
parent1dff89a9c7fab71b43ba79cc1aa6c6dbad582a35
microblaze: Cleanup compiled-in rootfs in BSS section

This patch is based on patch from Steve Magnani.

There were bug for compiled-in rootfs. We have to move
moving rootfs which is in BSS section to _ebss section
which is at the end of kernel and then clear bss section
not vice-versa.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/setup.c