projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/ptdump: Fix DEBUG_WX since generic ptdump conversion
[linux-2.6-block.git]
/
arch
/
powerpc
/
mm
/
ptdump
/
ptdump.c
diff --git
a/arch/powerpc/mm/ptdump/ptdump.c
b/arch/powerpc/mm/ptdump/ptdump.c
index bf251191e78d96baa389d625ea2ec208a254e66c..32bfb215c48583be6a06d8800250f17dac944df0 100644
(file)
--- a/
arch/powerpc/mm/ptdump/ptdump.c
+++ b/
arch/powerpc/mm/ptdump/ptdump.c
@@
-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))