diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-05 15:05:44 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-08 14:08:45 +0200 |
commit | fe844052bca4355bf1a1b078d3e7727800cf3c73 (patch) | |
tree | 27413492b9573f40a1d978741273667a70b90de8 /arch/hexagon/include/asm/thread_info.h | |
parent | e6e9c540d5d177e7a40d8b40a3b2386bdefbe5da (diff) | |
download | blackbird-op-linux-fe844052bca4355bf1a1b078d3e7727800cf3c73.tar.gz blackbird-op-linux-fe844052bca4355bf1a1b078d3e7727800cf3c73.zip |
hexagon: 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: Richard Kuo <rkuo@codeaurora.org>
Link: http://lkml.kernel.org/r/20120505150141.812612113@linutronix.de
Diffstat (limited to 'arch/hexagon/include/asm/thread_info.h')
-rw-r--r-- | arch/hexagon/include/asm/thread_info.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/hexagon/include/asm/thread_info.h b/arch/hexagon/include/asm/thread_info.h index 9c2934ff5756..4f936a7ee847 100644 --- a/arch/hexagon/include/asm/thread_info.h +++ b/arch/hexagon/include/asm/thread_info.h @@ -31,15 +31,7 @@ #define THREAD_SHIFT 12 #define THREAD_SIZE (1<<THREAD_SHIFT) - -#if THREAD_SHIFT >= PAGE_SHIFT #define THREAD_SIZE_ORDER (THREAD_SHIFT - PAGE_SHIFT) -#else /* don't use standard allocator */ -#define __HAVE_ARCH_THREAD_INFO_ALLOCATOR -extern struct thread_info *alloc_thread_info_node(struct task_struct *tsk, int node); -extern void free_thread_info(struct thread_info *ti); -#endif - #ifndef __ASSEMBLY__ |