ide: define MAX_HWIFS in <linux/ide.h>
[pandora-kernel.git] / include / asm-frv / thread_info.h
index cc5433e..348b8f1 100644 (file)
@@ -88,9 +88,8 @@ register struct thread_info *__current_thread_info asm("gr15");
        ({                                                      \
                struct thread_info *ret;                        \
                                                                \
-               ret = kmalloc(THREAD_SIZE, GFP_KERNEL);         \
-               if (ret)                                        \
-                       memset(ret, 0, THREAD_SIZE);            \
+               ret = kzalloc(THREAD_SIZE, GFP_KERNEL);         \
+                                                               \
                ret;                                            \
        })
 #else