Merge branch 'linus' into stackprotector
[linux-2.6] / arch / powerpc / mm / Makefile
1 #
2 # Makefile for the linux ppc-specific parts of the memory manager.
3 #
4
5 ifeq ($(CONFIG_PPC64),y)
6 EXTRA_CFLAGS    += -mno-minimal-toc
7 endif
8
9 obj-y                           := fault.o mem.o pgtable.o \
10                                    init_$(CONFIG_WORD_SIZE).o \
11                                    pgtable_$(CONFIG_WORD_SIZE).o
12 obj-$(CONFIG_PPC_MMU_NOHASH)    += mmu_context_nohash.o tlb_nohash.o \
13                                    tlb_nohash_low.o
14 hash-$(CONFIG_PPC_NATIVE)       := hash_native_64.o
15 obj-$(CONFIG_PPC64)             += hash_utils_64.o \
16                                    slb_low.o slb.o stab.o \
17                                    gup.o mmap.o $(hash-y)
18 obj-$(CONFIG_PPC_STD_MMU_32)    += ppc_mmu_32.o
19 obj-$(CONFIG_PPC_STD_MMU)       += hash_low_$(CONFIG_WORD_SIZE).o \
20                                    tlb_hash$(CONFIG_WORD_SIZE).o \
21                                    mmu_context_hash$(CONFIG_WORD_SIZE).o
22 obj-$(CONFIG_40x)               += 40x_mmu.o
23 obj-$(CONFIG_44x)               += 44x_mmu.o
24 obj-$(CONFIG_FSL_BOOKE)         += fsl_booke_mmu.o
25 obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
26 obj-$(CONFIG_PPC_MM_SLICES)     += slice.o
27 obj-$(CONFIG_HUGETLB_PAGE)      += hugetlbpage.o
28 obj-$(CONFIG_PPC_SUBPAGE_PROT)  += subpage-prot.o