Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / include / asm-s390 / pgalloc.h
index 808c15e..0259469 100644 (file)
@@ -13,6 +13,7 @@
 #ifndef _S390_PGALLOC_H
 #define _S390_PGALLOC_H
 
+#include <linux/config.h>
 #include <linux/threads.h>
 #include <linux/gfp.h>
 #include <linux/mm.h>
@@ -146,7 +147,7 @@ pte_alloc_one(struct mm_struct *mm, unsigned long vmaddr)
        pte_t *pte = pte_alloc_one_kernel(mm, vmaddr);
        if (pte)
                return virt_to_page(pte);
-       return NULL;
+       return 0;
 }
 
 static inline void pte_free_kernel(pte_t *pte)