]> git.itanic.dy.fi Git - linux-stable/commit
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:44:20 +0000 (06:44 +0100)
commit543fd2ab74dc817a6e1fbcc14480b5caa6aa666f
treedd230aa177689cca00aa6fab61ed0f8524a7eaf5
parent4ffde229727ea9ca8506d652782cec783e4fd5cb
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