commit | f3a2ac05894b57e78cd6cc0adba1de642034d940 | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@c-s.fr> | Wed Aug 14 12:36:12 2019 +0000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Aug 20 21:22:09 2019 +1000 |
tree | 98ada0ced13469382d5fd2f1faa8e90e391d414e | |
parent | 82242352728125ecd86cea4631b89a5e6be0d0fd [diff] |
powerpc/ptdump: get out of note_prot_wx() when CONFIG_PPC_DEBUG_WX is not selected. When CONFIG_PPC_DEBUG_WX, note_prot_wx() is useless. Get out of it early and inconditionnally in that case, so that GCC can kick all the code out. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/ff6c8f631bd4ce3a10e0cc241eb569816187bc20.1565786091.git.christophe.leroy@c-s.fr