X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-s390%2Fpgalloc.h;h=a78e853e0dd521097f978dc1db725450d2dea86f;hb=b1b934d31d8a608fe69fc56d6e539548b55b0601;hp=e28aaf28e4a8d8cfbed25b9bc4665fbb5bb833d4;hpb=b7ad6d75028d021362221d9b2db19fcff995c3f8;p=powerpc.git diff --git a/include/asm-s390/pgalloc.h b/include/asm-s390/pgalloc.h index e28aaf28e4..a78e853e0d 100644 --- a/include/asm-s390/pgalloc.h +++ b/include/asm-s390/pgalloc.h @@ -13,7 +13,6 @@ #ifndef _S390_PGALLOC_H #define _S390_PGALLOC_H -#include #include #include #include @@ -143,7 +142,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 0; + return NULL; } static inline void pte_free_kernel(pte_t *pte)