diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-10-06 23:59:20 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-11-02 11:00:01 (GMT) |
commit | 962a9dd47e7d92a9b29e7114c108bcff3ad0eb05 (patch) | |
tree | 811e673690f517b8d1b160de418185a81182bf7c /arch | |
parent | 067f3290f7508f492e2f838222766fa1874606c5 (diff) | |
download | linux-962a9dd47e7d92a9b29e7114c108bcff3ad0eb05.tar.xz |
MIPS: Cleanup CONFIG_DEBUG_STACK_USAGE version of alloc_thread_info.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/thread_info.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h index 01cc163..845da21 100644 --- a/arch/mips/include/asm/thread_info.h +++ b/arch/mips/include/asm/thread_info.h @@ -86,14 +86,7 @@ register struct thread_info *__current_thread_info __asm__("$28"); #define __HAVE_ARCH_THREAD_INFO_ALLOCATOR #ifdef CONFIG_DEBUG_STACK_USAGE -#define alloc_thread_info(tsk) \ -({ \ - struct thread_info *ret; \ - \ - ret = kzalloc(THREAD_SIZE, GFP_KERNEL); \ - \ - ret; \ -}) +#define alloc_thread_info(tsk) kzalloc(THREAD_SIZE, GFP_KERNEL) #else #define alloc_thread_info(tsk) kmalloc(THREAD_SIZE, GFP_KERNEL) #endif |