aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/thread_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/thread_info.h')
-rw-r--r--arch/mips/include/asm/thread_info.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h
index 0d85d8e440c5..e2eca7d10598 100644
--- a/arch/mips/include/asm/thread_info.h
+++ b/arch/mips/include/asm/thread_info.h
@@ -85,18 +85,6 @@ register struct thread_info *__current_thread_info __asm__("$28");
85 85
86#define STACK_WARN (THREAD_SIZE / 8) 86#define STACK_WARN (THREAD_SIZE / 8)
87 87
88#define __HAVE_ARCH_THREAD_INFO_ALLOCATOR
89
90#ifdef CONFIG_DEBUG_STACK_USAGE
91#define alloc_thread_info_node(tsk, node) \
92 kzalloc_node(THREAD_SIZE, GFP_KERNEL, node)
93#else
94#define alloc_thread_info_node(tsk, node) \
95 kmalloc_node(THREAD_SIZE, GFP_KERNEL, node)
96#endif
97
98#define free_thread_info(info) kfree(info)
99
100#endif /* !__ASSEMBLY__ */ 88#endif /* !__ASSEMBLY__ */
101 89
102#define PREEMPT_ACTIVE 0x10000000 90#define PREEMPT_ACTIVE 0x10000000