powerpc: Remove pte_mkuser() and pte_mkpriviledged()
[linux-2.6-block.git] / arch / powerpc / include / asm / book3s / 64 / pgtable.h
index dbd545e73161ab620680ce5ff155748c37d72a8c..c3b921769ecea28d95223172816ee1ead18e02fd 100644 (file)
@@ -630,16 +630,6 @@ static inline pte_t pte_mkdevmap(pte_t pte)
        return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SPECIAL | _PAGE_DEVMAP));
 }
 
-static inline pte_t pte_mkprivileged(pte_t pte)
-{
-       return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_PRIVILEGED));
-}
-
-static inline pte_t pte_mkuser(pte_t pte)
-{
-       return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_PRIVILEGED));
-}
-
 /*
  * This is potentially called with a pmd as the argument, in which case it's not
  * safe to check _PAGE_DEVMAP unless we also confirm that _PAGE_PTE is set.