[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] [patch] boot memory allocator cleanup 3



Hi all,

Ok this is the patch to remove static allocation of boot memory
map. this works for suzaku, but since I don't have platform to test
mbvanilla, I'd like to ask people who has it to test this patch.

# it at least compiles for mbvanilla ;P

regards,
--
           yashi

What the patch does:

* arch/microblaze/kernel/mbvanilla.c: finally used _ramstart
  fixed: _ramstart definition

* arch/microblaze/kernel/suzaku.c: likewise

* arch/microblaze/mbvanilla.ld: remove unsed bootmap section
  
* arch/microblaze/mm/init.c: reserve memory from start of bss to
_ramstart, which is the end of romfs.
  removed: _bootmap fixed:
  fixed: finally use _ramstart

* arch/microblaze/suzaku.ld: remove unused bootmap section
  added: __bss_start and __bss_stop to sync with mbvanilla

Attachment: linux-mm3-get-rid-of-static-bootmap.patch
Description: Binary data