X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-um%2Fpgtable.h;h=188f726217766f8e45bc7dce5a130e509d9b2f68;hb=629a21e7ecedf779c68dcaa9a186069f57a7c652;hp=4862daf8b9068390c31e247d7fc2ed34dce7f9e7;hpb=dd77a4ee0f3981693d4229aa1d57cea9e526ff47;p=powerpc.git diff --git a/include/asm-um/pgtable.h b/include/asm-um/pgtable.h index 4862daf8b9..188f726217 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) return(pte_mknewprot(pte)); } -static inline pte_t pte_mkexec(pte_t pte) -{ - pte_set_bits(pte, _PAGE_USER); - return(pte_mknewprot(pte)); -} - static inline pte_t pte_mkdirty(pte_t pte) { pte_set_bits(pte, _PAGE_DIRTY);