[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-block.git] / arch / cris / arch-v32 / kernel / signal.c
index 99e59b3eacf8fd5cd4616108873be9afbc460401..7cd6ac80340940300defd4f75ce48be1629461e9 100644 (file)
@@ -686,7 +686,7 @@ keep_debug_flags(unsigned long oldccs, unsigned long oldspc,
 int __init
 cris_init_signal(void)
 {
-       u16* data = (u16*)kmalloc(PAGE_SIZE, GFP_KERNEL);
+       u16* data = kmalloc(PAGE_SIZE, GFP_KERNEL);
 
        /* This is movu.w __NR_sigreturn, r9; break 13; */
        data[0] = 0x9c5f;