Merge tag 'powerpc-5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux-2.6-microblaze.git] / arch / powerpc / mm / ptdump / ptdump.c
index 473960e..8c84698 100644 (file)
@@ -183,7 +183,7 @@ static void note_prot_wx(struct pg_state *st, unsigned long addr)
 {
        pte_t pte = __pte(st->current_flags);
 
-       if (!IS_ENABLED(CONFIG_PPC_DEBUG_WX) || !st->check_wx)
+       if (!IS_ENABLED(CONFIG_DEBUG_WX) || !st->check_wx)
                return;
 
        if (!pte_write(pte) || !pte_exec(pte))