]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ptdump: Fix DEBUG_WX since generic ptdump conversion
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 3 Dec 2021 12:41:12 +0000 (23:41 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Dec 2021 02:05:59 +0000 (13:05 +1100)
commitd6664851b7bbd6ea9008de8d5019cf1ab695fad5
tree4732b4895f4d6537925ceb339b7ec9470a7f5e22
parentdc890878b0404221bb2b9e279b8383e8635c0d0d
powerpc/ptdump: Fix DEBUG_WX since generic ptdump conversion

In note_prot_wx() we bail out without reporting anything if
CONFIG_PPC_DEBUG_WX is disabled.

But CONFIG_PPC_DEBUG_WX was removed in the conversion to generic ptdump,
we now need to use CONFIG_DEBUG_WX instead.

Fixes: 4bd9a0861a53 ("powerpc/ptdump: Convert powerpc to GENERIC_PTDUMP")
Cc: stable@vger.kernel.org # v5.15+
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20211203124112.2912562-1-mpe@ellerman.id.au
arch/powerpc/mm/ptdump/ptdump.c