projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
067f329
)
MIPS: Cleanup CONFIG_DEBUG_STACK_USAGE version of alloc_thread_info.
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 6 Oct 2009 23:59:20 +0000
(
01:59
+0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 2 Nov 2009 11:00:01 +0000
(12:00 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/thread_info.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/include/asm/thread_info.h
b/arch/mips/include/asm/thread_info.h
index 01cc1630b66cc4cf7f8f7a0159245fd72e5bf893..845da2107ed144379b2e9bc6761a169c30ae9f23 100644
(file)
--- 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