]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ia64/pgtable.h
Pull context-bitmap into release branch
[linux-2.6-omap-h63xx.git] / include / asm-ia64 / pgtable.h
index 3339c7b55a6f69bf534620c45f7cfc6599a25bce..c34ba80c1c31fcdd80c94cf7ec32981348f3c609 100644 (file)
 
 # ifndef __ASSEMBLY__
 
+#include <linux/sched.h>       /* for mm_struct */
 #include <asm/bitops.h>
 #include <asm/cacheflush.h>
 #include <asm/mmu_context.h>
@@ -236,9 +237,6 @@ ia64_phys_addr_valid (unsigned long addr)
 #define pte_modify(_pte, newprot) \
        (__pte((pte_val(_pte) & ~_PAGE_CHG_MASK) | (pgprot_val(newprot) & _PAGE_CHG_MASK)))
 
-#define page_pte_prot(page,prot)       mk_pte(page, prot)
-#define page_pte(page)                 page_pte_prot(page, __pgprot(0))
-
 #define pte_none(pte)                  (!pte_val(pte))
 #define pte_present(pte)               (pte_val(pte) & (_PAGE_P | _PAGE_PROTNONE))
 #define pte_clear(mm,addr,pte)         (pte_val(*(pte)) = 0UL)