Skip to content
Commit 7c8c6b97 authored by Paul Mackerras's avatar Paul Mackerras
Browse files

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: default avatarPaul Mackerras <paulus@samba.org>
parent 9b6b563c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment