powerpc/mm/hash: Free the subpage_prot_table correctly
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 17 Jun 2017 14:30:55 +0000 (20:00 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 27 Jul 2017 03:05:50 +0000 (13:05 +1000)
commit0da12a7a81f1e2255e89dc783c565e84801475a2
tree8eedcff78bb5ae07c0647ed50d0b5f9846b65328
parentb40b2386bce982ad97f3683b2b34e589c3be5c5a
powerpc/mm/hash: Free the subpage_prot_table correctly

Fixes: dad6f37c2602e ("powerpc: subpage_protect: Increase the array size to take care of 64TB")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tested-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/subpage-prot.c