X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-s390%2Fpgalloc.h;h=0259469cc56d9679975bfb20d737c9c8a39ee7ac;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=808c15e6d8388665ec4dc21afd1fcb2c333389b2;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/asm-s390/pgalloc.h b/include/asm-s390/pgalloc.h index 808c15e6d..0259469cc 100644 --- a/include/asm-s390/pgalloc.h +++ b/include/asm-s390/pgalloc.h @@ -13,6 +13,7 @@ #ifndef _S390_PGALLOC_H #define _S390_PGALLOC_H +#include #include #include #include @@ -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)