summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/pgtable-radix.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V2016-04-29 15:26:18 +0200
committerMichael Ellerman2016-05-11 13:53:51 +0200
commit934828edfadc43be07e53429ce501741bedf4a5e (patch)
tree5df375f862384879712ca7c1473fe8527e850a74 /arch/powerpc/mm/pgtable-radix.c
parentpowerpc/mm: Rename function to indicate we are allocating fragments (diff)
downloadkernel-qcow2-linux-934828edfadc43be07e53429ce501741bedf4a5e.tar.gz
kernel-qcow2-linux-934828edfadc43be07e53429ce501741bedf4a5e.tar.xz
kernel-qcow2-linux-934828edfadc43be07e53429ce501741bedf4a5e.zip
powerpc/mm: Make 4K and 64K use pte_t for pgtable_t
This patch switches 4K Linux page size config to use pte_t * type instead of struct page * for pgtable_t. This simplifies the code a lot and helps in consolidating both 64K and 4K page allocator routines. The changes should not have any impact, because we already store physical address in the upper level page table tree and that implies we already do struct page * to physical address conversion. One change to note here is we move the pgtable_page_dtor() call for nohash to pte_fragment_free_mm(). The nohash related change is due to the related changes in pgtable_64.c. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/pgtable-radix.c')
0 files changed, 0 insertions, 0 deletions