diff options
Diffstat (limited to 'include/asm-um/pgtable.h')
-rw-r--r-- | include/asm-um/pgtable.h | 6 |
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 | ||
277 | static inline pte_t pte_mkexec(pte_t pte) | ||
278 | { | ||
279 | pte_set_bits(pte, _PAGE_USER); | ||
280 | return(pte_mknewprot(pte)); | ||
281 | } | ||
282 | |||
283 | static inline pte_t pte_mkdirty(pte_t pte) | 277 | static inline pte_t pte_mkdirty(pte_t pte) |
284 | { | 278 | { |
285 | pte_set_bits(pte, _PAGE_DIRTY); | 279 | pte_set_bits(pte, _PAGE_DIRTY); |