aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-um/pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/pgtable.h')
-rw-r--r--include/asm-um/pgtable.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-um/pgtable.h b/include/asm-um/pgtable.h
index 4862daf8b906..188f72621776 100644
--- a/include/asm-um/pgtable.h
+++ b/include/asm-um/pgtable.h
@@ -274,12 +274,6 @@ static inline pte_t pte_mkread(pte_t pte)
274 return(pte_mknewprot(pte)); 274 return(pte_mknewprot(pte));
275} 275}
276 276
277static inline pte_t pte_mkexec(pte_t pte)
278{
279 pte_set_bits(pte, _PAGE_USER);
280 return(pte_mknewprot(pte));
281}
282
283static inline pte_t pte_mkdirty(pte_t pte) 277static inline pte_t pte_mkdirty(pte_t pte)
284{ 278{
285 pte_set_bits(pte, _PAGE_DIRTY); 279 pte_set_bits(pte, _PAGE_DIRTY);