Lines Matching refs:_PAGE_EXEC
170 #if defined(CONFIG_PPC_STD_MMU) || _PAGE_EXEC == 0
204 #else /* defined(CONFIG_PPC_STD_MMU) || _PAGE_EXEC == 0 */
207 * as we don't have two bits to spare for _PAGE_EXEC and _PAGE_HWEXEC so
215 if (!(pte_val(pte) & _PAGE_EXEC) || !pte_looks_normal(pte))
218 /* If you set _PAGE_EXEC on weird pages you're on your own */
234 /* Else, we filter out _PAGE_EXEC */
235 return __pte(pte_val(pte) & ~_PAGE_EXEC);
244 * to recover lost _PAGE_EXEC and perform I$/D$ coherency
245 * if necessary. Also if _PAGE_EXEC is already set, same deal,
248 if (dirty || (pte_val(pte) & _PAGE_EXEC) || !is_exec_fault())
252 /* So this is an exec fault, _PAGE_EXEC is not set. If it was
260 /* If you set _PAGE_EXEC on weird pages you're on your own */
274 return __pte(pte_val(pte) | _PAGE_EXEC);
277 #endif /* !(defined(CONFIG_PPC_STD_MMU) || _PAGE_EXEC == 0) */