summaryrefslogtreecommitdiff
path: root/arch/mips/mm/Makefile
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2017-02-02 01:21:35 +0000
committerJames Hogan <james.hogan@imgtec.com>2017-02-02 15:06:26 +0000
commit814f91bf3ea0962e4f802324766bf301ef6f5431 (patch)
treeb2bfe4ee5f1d342a674cbe4abb77ee12deddae63 /arch/mips/mm/Makefile
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88 (diff)
downloadlinux-exynos-814f91bf3ea0962e4f802324766bf301ef6f5431.tar.gz
linux-exynos-814f91bf3ea0962e4f802324766bf301ef6f5431.tar.bz2
linux-exynos-814f91bf3ea0962e4f802324766bf301ef6f5431.zip
MIPS: Move pgd_alloc() out of header
pgd_alloc() references init_mm which is not exported to modules. In order for KVM to be able to use pgd_alloc() to allocate GVA page tables, move pgd_alloc() into a new pgtable.c file and export it to modules. Signed-off-by: James Hogan <james.hogan@imgtec.com> Acked-by: Ralf Baechle <ralf@linux-mips.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org
Diffstat (limited to 'arch/mips/mm/Makefile')
-rw-r--r--arch/mips/mm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/Makefile b/arch/mips/mm/Makefile
index b4c64bd3f723..b4cc8811a664 100644
--- a/arch/mips/mm/Makefile
+++ b/arch/mips/mm/Makefile
@@ -4,7 +4,7 @@
obj-y += cache.o dma-default.o extable.o fault.o \
gup.o init.o mmap.o page.o page-funcs.o \
- tlbex.o tlbex-fault.o tlb-funcs.o
+ pgtable.o tlbex.o tlbex-fault.o tlb-funcs.o
ifdef CONFIG_CPU_MICROMIPS
obj-y += uasm-micromips.o