diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-05 11:05:43 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-08 08:08:44 -0400 |
commit | c64872cd0dd5892f4d6f3605ffca36d13e63443d (patch) | |
tree | 9603b0af63567e7919420d090bb7549c6d3a9049 /arch/frv/include | |
parent | 803fc74f06cf3cd23417463ca5a176b41717ec19 (diff) |
frv: Use common threadinfo allocator
The core now has a threadinfo allocator which uses a kmemcache when
THREAD_SIZE < PAGE_SIZE.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: David Howells <dhowells@redhat.com>
Link: http://lkml.kernel.org/r/20120505150141.751600045@linutronix.de
Diffstat (limited to 'arch/frv/include')
-rw-r--r-- | arch/frv/include/asm/thread_info.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/frv/include/asm/thread_info.h b/arch/frv/include/asm/thread_info.h index aaea388a57d9..54ab13a0de41 100644 --- a/arch/frv/include/asm/thread_info.h +++ b/arch/frv/include/asm/thread_info.h | |||
@@ -80,19 +80,6 @@ register struct thread_info *__current_thread_info asm("gr15"); | |||
80 | 80 | ||
81 | #define current_thread_info() ({ __current_thread_info; }) | 81 | #define current_thread_info() ({ __current_thread_info; }) |
82 | 82 | ||
83 | #define __HAVE_ARCH_THREAD_INFO_ALLOCATOR | ||
84 | |||
85 | /* thread information allocation */ | ||
86 | #ifdef CONFIG_DEBUG_STACK_USAGE | ||
87 | #define alloc_thread_info_node(tsk, node) \ | ||
88 | kzalloc_node(THREAD_SIZE, GFP_KERNEL, node) | ||
89 | #else | ||
90 | #define alloc_thread_info_node(tsk, node) \ | ||
91 | kmalloc_node(THREAD_SIZE, GFP_KERNEL, node) | ||
92 | #endif | ||
93 | |||
94 | #define free_thread_info(info) kfree(info) | ||
95 | |||
96 | #endif /* __ASSEMBLY__ */ | 83 | #endif /* __ASSEMBLY__ */ |
97 | 84 | ||
98 | /* | 85 | /* |