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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Mar 2017 05:41:53 +0000 (06:41 +0100)
commit3552f917154a3472d3095988f98289ebdda5a8d3
tree53488b67dd62ffdf856bf3277a197f1914ef40b2
parentfccb22e7d5df9b899228eb651747265202e5a321
powerpc/mm: Add MMU_FTR_KERNEL_RO to possible feature mask

commit a5ecdad4847897007399d7a14c9109b65ce4c9b7 upstream.

Without this we will always find the feature disabled.

Fixes: 984d7a1ec6 ("powerpc/mm: Fixup kernel read only mapping")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/include/asm/mmu.h