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: NPaul Mackerras <paulus@samba.org>
Showing
arch/powerpc/mm/lmb.c
0 → 100644
arch/powerpc/mm/mem_pieces.c
已删除
100644 → 0
arch/powerpc/mm/mem_pieces.h
已删除
100644 → 0
想要评论请 注册 或 登录