X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-s390%2Fpgalloc.h;fp=include%2Fasm-s390%2Fpgalloc.h;h=808c15e6d8388665ec4dc21afd1fcb2c333389b2;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=0259469cc56d9679975bfb20d737c9c8a39ee7ac;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/include/asm-s390/pgalloc.h b/include/asm-s390/pgalloc.h index 0259469cc..808c15e6d 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 @@ -147,7 +146,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)