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)
commit7c8c6b9776fb41134d87ef50706a777a45d61cd4
tree5f3cc71e34bc244d53364e103a9746bfe92da9ae
parent9b6b563c0d2d25ecc3111916031aa7255543fbfb
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