X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fasm-sh64%2Fpgalloc.h;h=cb803e56cb64a20c1d3cba3271177212e05dcd5e;hb=c58b8e4a25a1ba347a0e5d21984c97bd296f1691;hp=b29dd468817e63dd7111b12fd03acd1400115969;hpb=74293759002aa7db0179158c20676a034614577b;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-sh64/pgalloc.h b/include/asm-sh64/pgalloc.h index b29dd468817..cb803e56cb6 100644 --- a/include/asm-sh64/pgalloc.h +++ b/include/asm-sh64/pgalloc.h @@ -41,7 +41,7 @@ static inline void pgd_init(unsigned long page) static inline pgd_t *get_pgd_slow(void) { unsigned int pgd_size = (USER_PTRS_PER_PGD * sizeof(pgd_t)); - pgd_t *ret = (pgd_t *)kmalloc(pgd_size, GFP_KERNEL); + pgd_t *ret = kmalloc(pgd_size, GFP_KERNEL); return ret; }