vserver 1.9.5.x5
[linux-2.6.git] / include / asm-alpha / pgalloc.h
index b671bb3..3084756 100644 (file)
@@ -40,9 +40,7 @@ pgd_free(pgd_t *pgd)
 static inline pmd_t *
 pmd_alloc_one(struct mm_struct *mm, unsigned long address)
 {
-       pmd_t *ret = (pmd_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT);
-       if (ret)
-               clear_page(ret);
+       pmd_t *ret = (pmd_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO);
        return ret;
 }