diff options
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 @@ | |||
31 | 31 | ||
32 | #define THREAD_SHIFT 12 | 32 | #define THREAD_SHIFT 12 |
33 | #define THREAD_SIZE (1<<THREAD_SHIFT) | 33 | #define THREAD_SIZE (1<<THREAD_SHIFT) |
34 | |||
35 | #if THREAD_SHIFT >= PAGE_SHIFT | ||
36 | #define THREAD_SIZE_ORDER (THREAD_SHIFT - PAGE_SHIFT) | 34 | #define THREAD_SIZE_ORDER (THREAD_SHIFT - PAGE_SHIFT) |
37 | #else /* don't use standard allocator */ | ||
38 | #define __HAVE_ARCH_THREAD_INFO_ALLOCATOR | ||
39 | extern struct thread_info *alloc_thread_info_node(struct task_struct *tsk, int node); | ||
40 | extern void free_thread_info(struct thread_info *ti); | ||
41 | #endif | ||
42 | |||
43 | 35 | ||
44 | #ifndef __ASSEMBLY__ | 36 | #ifndef __ASSEMBLY__ |
45 | 37 | ||