powerpc/mm/hash: Free the subpage_prot_table correctly

commit 0da12a7a81 upstream.

Fixes: dad6f37c26 ("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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Aneesh Kumar K.V 2017-06-17 20:00:55 +05:30 • committed by Ben Hutchings
commit 0cec8c03e9