mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
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
This commit is contained in:
@@ -183,7 +183,7 @@ static void note_prot_wx(struct pg_state *st, unsigned long addr)
|
|||||||
{
|
{
|
||||||
pte_t pte = __pte(st->current_flags);
|
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;
|
return;
|
||||||
|
|
||||||
if (!pte_write(pte) || !pte_exec(pte))
|
if (!pte_write(pte) || !pte_exec(pte))
|
||||||
|
|||||||
Reference in New Issue
Block a user