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

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



Hi all,

this is the second patch in the boot memory allocator cleanup series.

In this patch, I'm just renaming symbols. No functionality should have
been changed, yet. For now, I'm leaving original symbols in linker
script.  If nobody disagree, I'll remove those symbols in the next
patch.

# IMHO, i like _ebss than __bss_stop, but...

attached patch should apply to cvs after the first patch applied.
suzaku part of linker script is omitted just in case.  I'll submit
after suzaku build fix is applied to cvs.

regards,
--
          yashi

What the patch does:

* arch/microblaze/mm/init.c: renamed symbol names to have consistency
with other architectures.
  renamed: total_ram_pages to totalram_pages
  renamed: init_mem_alloc to paging_init
  renamed: init_bootmem_alloc to bootmem_init
  renamed: _sbss to __bss_start
  renamed: _ebss to __bss_stop
  renamed: _init_start to __init_begin
  renamed: _init_end to __init_end

* arch/microblaze/mbvanilla.ld: added new symbol names to sync
with arch/microblaze/mm/init.c

* arch/microblaze/setup.c: sync with linker script and init.c
  renamed: init_mem_alloc to paging_init
  removed: unused variables

* arch/microblaze/kernel/head.S: sync with linker script (which is in
#if0-#endif so shouldn't have any effects)

* arch/microblaze/kernel/mbvanilla.c: sync with linker script

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

Attachment: linux-mm2-symbol-name-fix.patch
Description: Binary data