]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh64/pgalloc.h
[SCSI] ipr: Allow driver_data to be passed for dynamic ids
[linux-2.6-omap-h63xx.git] / include / asm-sh64 / pgalloc.h
index b29dd468817e63dd7111b12fd03acd1400115969..cb803e56cb64a20c1d3cba3271177212e05dcd5e 100644 (file)
@@ -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;
 }