James Hogan 814f91bf3e 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
2017-02-02 15:06:26 +00:00
..
2016-02-19 09:51:43 +01:00
2016-10-06 17:31:02 +02:00
2016-12-18 18:18:03 -08:00
2016-08-03 08:16:30 +02:00
2016-04-03 12:32:09 +02:00
2017-02-02 15:06:26 +00:00
2016-10-06 18:01:28 +02:00
2016-10-04 16:13:57 +02:00
2016-05-28 12:35:09 +02:00
2015-11-11 08:36:36 +01:00
2016-11-04 00:37:15 +01:00