MIPS: SB1250: Include correct header and fix a warning
[linux-2.6/linux-mips.git] / arch / powerpc / mm / Makefile
blobce68708bbad53c016986eabf7dfe2ef08ba33a97
2 # Makefile for the linux ppc-specific parts of the memory manager.
5 subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
7 ifeq ($(CONFIG_PPC64),y)
8 EXTRA_CFLAGS += -mno-minimal-toc
9 endif
11 obj-y := fault.o mem.o pgtable.o gup.o \
12 init_$(CONFIG_WORD_SIZE).o \
13 pgtable_$(CONFIG_WORD_SIZE).o
14 obj-$(CONFIG_PPC_MMU_NOHASH) += mmu_context_nohash.o tlb_nohash.o \
15 tlb_nohash_low.o
16 obj-$(CONFIG_PPC_BOOK3E) += tlb_low_$(CONFIG_WORD_SIZE)e.o
17 obj-$(CONFIG_PPC64) += mmap_64.o
18 hash64-$(CONFIG_PPC_NATIVE) := hash_native_64.o
19 obj-$(CONFIG_PPC_STD_MMU_64) += hash_utils_64.o \
20 slb_low.o slb.o stab.o \
21 mmap_64.o $(hash64-y)
22 obj-$(CONFIG_PPC_STD_MMU_32) += ppc_mmu_32.o
23 obj-$(CONFIG_PPC_STD_MMU) += hash_low_$(CONFIG_WORD_SIZE).o \
24 tlb_hash$(CONFIG_WORD_SIZE).o \
25 mmu_context_hash$(CONFIG_WORD_SIZE).o
26 obj-$(CONFIG_40x) += 40x_mmu.o
27 obj-$(CONFIG_44x) += 44x_mmu.o
28 obj-$(CONFIG_FSL_BOOKE) += fsl_booke_mmu.o
29 obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
30 obj-$(CONFIG_PPC_MM_SLICES) += slice.o
31 ifeq ($(CONFIG_HUGETLB_PAGE),y)
32 obj-y += hugetlbpage.o
33 obj-$(CONFIG_PPC_STD_MMU_64) += hugetlbpage-hash64.o
34 endif
35 obj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage-prot.o
36 obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
37 obj-$(CONFIG_HIGHMEM) += highmem.o