diff options
Diffstat (limited to 'include/asm-frv')
-rw-r--r-- | include/asm-frv/thread_info.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-frv/thread_info.h b/include/asm-frv/thread_info.h index cc5433e78b52..348b8f1df17e 100644 --- a/include/asm-frv/thread_info.h +++ b/include/asm-frv/thread_info.h | |||
@@ -88,9 +88,8 @@ register struct thread_info *__current_thread_info asm("gr15"); | |||
88 | ({ \ | 88 | ({ \ |
89 | struct thread_info *ret; \ | 89 | struct thread_info *ret; \ |
90 | \ | 90 | \ |
91 | ret = kmalloc(THREAD_SIZE, GFP_KERNEL); \ | 91 | ret = kzalloc(THREAD_SIZE, GFP_KERNEL); \ |
92 | if (ret) \ | 92 | \ |
93 | memset(ret, 0, THREAD_SIZE); \ | ||
94 | ret; \ | 93 | ret; \ |
95 | }) | 94 | }) |
96 | #else | 95 | #else |