X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sh64%2Fpgalloc.h;h=cb803e56cb64a20c1d3cba3271177212e05dcd5e;hb=92e1d5be91a0e3ffa5c4697eeb09b2aa22792122;hp=b29dd468817e63dd7111b12fd03acd1400115969;hpb=b7ad6d75028d021362221d9b2db19fcff995c3f8;p=linux-2.6 diff --git a/include/asm-sh64/pgalloc.h b/include/asm-sh64/pgalloc.h index b29dd46881..cb803e56cb 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; }