diff options
Diffstat (limited to 'arch/hexagon/include')
-rw-r--r-- | arch/hexagon/include/asm/spinlock_types.h | 2 | ||||
-rw-r--r-- | arch/hexagon/include/asm/thread_info.h | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/hexagon/include/asm/spinlock_types.h b/arch/hexagon/include/asm/spinlock_types.h index 5e937af1c4ad..99b5a7575c21 100644 --- a/arch/hexagon/include/asm/spinlock_types.h +++ b/arch/hexagon/include/asm/spinlock_types.h | |||
@@ -21,8 +21,6 @@ | |||
21 | #ifndef _ASM_SPINLOCK_TYPES_H | 21 | #ifndef _ASM_SPINLOCK_TYPES_H |
22 | #define _ASM_SPINLOCK_TYPES_H | 22 | #define _ASM_SPINLOCK_TYPES_H |
23 | 23 | ||
24 | #include <linux/version.h> | ||
25 | |||
26 | #ifndef __LINUX_SPINLOCK_TYPES_H | 24 | #ifndef __LINUX_SPINLOCK_TYPES_H |
27 | # error "please don't include this file directly" | 25 | # error "please don't include this file directly" |
28 | #endif | 26 | #endif |
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 | ||