microblaze: Use klimit instead of _end for memory init
authorMichal Simek <monstr@monstr.eu>
Tue, 11 Aug 2009 10:36:12 +0000 (12:36 +0200)
committerMichal Simek <monstr@monstr.eu>
Tue, 18 Aug 2009 08:34:12 +0000 (10:34 +0200)
commit8f37b6c9852ff79cc8472c44ea6f6485dfd58bd2
treeec228c1c21beb8e0373e96272d7efa1c6d7d07bf
parent2856ed35ead295a7cc8788d9ba860e746dfc92bb
microblaze: Use klimit instead of _end for memory init

For noMMU system when you use larger rootfs image
there is problem with using _end label because
we increase klimit but in memory initialization
we use still _end which is wrong. Larger mtd rootfs
was rewritten by init_bootmem_node.

MMU kernel use static initialization where klimit
is setup to _end. There is no any other hanling
with klimit.

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