powerpc/64: Export pgtable_cache and pgtable_cache_add for KVM
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 30 Jan 2017 10:21:38 +0000 (21:21 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 31 Jan 2017 08:11:45 +0000 (19:11 +1100)
commitba9b399aee6fb70cbe988f0750d6dd9f6677293b
tree4ee60095d95f207a1d9e07dca7d8b5bc8081a262
parentdbcbfee0c81c7938e40d7d6bc659a5191f490b50
powerpc/64: Export pgtable_cache and pgtable_cache_add for KVM

This exports the pgtable_cache array and the pgtable_cache_add
function so that HV KVM can use them for allocating radix page
tables for guests.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/init-common.c