]> err.no Git - linux-2.6/blobdiff - include/asm-x86_64/pgtable.h
[PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel
[linux-2.6] / include / asm-x86_64 / pgtable.h
index dd8711ecaf2ff71cf1bf0c6fd14d3ba690849465..7309fffeec9a04fe0b45abd0b7a39060a9abe19d 100644 (file)
@@ -105,6 +105,8 @@ static inline void pgd_clear (pgd_t * pgd)
 
 #define ptep_get_and_clear(mm,addr,xp) __pte(xchg(&(xp)->pte, 0))
 
+struct mm_struct;
+
 static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, unsigned long addr, pte_t *ptep, int full)
 {
        pte_t pte;
@@ -318,8 +320,6 @@ static inline int pmd_large(pmd_t pte) {
  * and a page entry and page directory to the page they refer to.
  */
 
-#define page_pte(page) page_pte_prot(page, __pgprot(0))
-
 /*
  * Level 4 access.
  */