]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Merge lmb.c and make MM initialization use it.
authorPaul Mackerras <paulus@samba.org>
Thu, 6 Oct 2005 02:23:33 +0000 (12:23 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 6 Oct 2005 02:23:33 +0000 (12:23 +1000)
commit81da33190403c76041151660f7251e745497f826
tree5f3cc71e34bc244d53364e103a9746bfe92da9ae
parentef0223c1f2f3da59b70922830febc73a64819866
powerpc: Merge lmb.c and make MM initialization use it.

This also creates merged versions of do_init_bootmem, paging_init
and mem_init and moves them to arch/powerpc/mm/mem.c.  It gets rid
of the mem_pieces stuff.

I made memory_limit a parameter to lmb_enforce_memory_limit rather
than a global referenced by that function.  This will require some
small changes to ppc64 if we want to continue building ARCH=ppc64
using the merged lmb.c.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/Makefile
arch/powerpc/mm/init.c
arch/powerpc/mm/init64.c
arch/powerpc/mm/lmb.c [new file with mode: 0644]
arch/powerpc/mm/mem.c
arch/powerpc/mm/mem_pieces.c [deleted file]
arch/powerpc/mm/mem_pieces.h [deleted file]
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/pgtable.c
arch/powerpc/mm/ppc_mmu.c
include/asm-ppc/page.h