Skip to content

Commit

Permalink
powerpc: Merge lmb.c and make MM initialization use it.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mackerras committed Oct 6, 2005
1 parent 9b6b563 commit 7c8c6b9
Show file tree
Hide file tree
Showing 11 changed files with 520 additions and 707 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Makefile for the linux ppc-specific parts of the memory manager.
#

obj-y := fault.o mem.o
obj-y := fault.o mem.o lmb.o
obj-$(CONFIG_PPC32) += init.o pgtable.o mmu_context.o \
mem_pieces.o tlb.o
tlb.o
obj-$(CONFIG_PPC64) += init64.o pgtable64.o mmu_context64.o
obj-$(CONFIG_PPC_STD_MMU_32) += ppc_mmu.o hash_32.o
obj-$(CONFIG_40x) += 4xx_mmu.o
Expand Down
Loading

0 comments on commit 7c8c6b9

Please sign in to comment.