This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / asm-sparc64 / pgalloc.h
index 8354a05..6fa1a1b 100644 (file)
@@ -196,7 +196,7 @@ pte_alloc_one(struct mm_struct *mm, unsigned long addr)
        pte_t *pte = pte_alloc_one_kernel(mm, addr);
        if (pte)
                return virt_to_page(pte);
-       return 0;
+       return NULL;
 }
 
 static __inline__ pte_t *pte_alloc_one_fast(struct mm_struct *mm, unsigned long address)
@@ -236,4 +236,8 @@ static __inline__ void free_pte_slow(pte_t *pte)
 #define pgd_free(pgd)          free_pgd_fast(pgd)
 #define pgd_alloc(mm)          get_pgd_fast()
 
+#define arch_add_exec_range(mm, limit)         do { ; } while (0)
+#define arch_flush_exec_range(mm)              do { ; } while (0)
+#define arch_remove_exec_range(mm, limit)      do { ; } while (0)
+
 #endif /* _SPARC64_PGALLOC_H */