powerpc/mm: Add MMU_FTR_KERNEL_RO to possible feature mask
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 6 Feb 2017 18:39:27 +0000 (00:09 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Feb 2017 05:29:55 +0000 (16:29 +1100)
commita5ecdad4847897007399d7a14c9109b65ce4c9b7
treef5c2540fde784fcf6440208514ccac3eb00c8d58
parent1a6822d194c3f627eeb6aaca6688a5d0a444663e
powerpc/mm: Add MMU_FTR_KERNEL_RO to possible feature mask

Without this we will always find the feature disabled.

Fixes: 984d7a1ec6 ("powerpc/mm: Fixup kernel read only mapping")
Cc: stable@vger.kernel.org # v4.7+
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/mmu.h