Skip to content

Commit f651faa

Browse files
committed
Merge tag 'powerpc-5.16-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fix from Michael Ellerman: "Fix DEBUG_WX never reporting any WX mappings, due to use of an incorrect config symbol since we converted to using generic ptdump" * tag 'powerpc-5.16-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc/ptdump: Fix DEBUG_WX since generic ptdump conversion
2 parents a8ad9a2 + 8d84fca commit f651faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/mm/ptdump/ptdump.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static void note_prot_wx(struct pg_state *st, unsigned long addr)
183183
{
184184
pte_t pte = __pte(st->current_flags);
185185

186-
if (!IS_ENABLED(CONFIG_PPC_DEBUG_WX) || !st->check_wx)
186+
if (!IS_ENABLED(CONFIG_DEBUG_WX) || !st->check_wx)
187187
return;
188188

189189
if (!pte_write(pte) || !pte_exec(pte))

0 commit comments

Comments
 (0)