diff options
Diffstat (limited to 'arch/frv/include')
-rw-r--r-- | arch/frv/include/asm/thread_info.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/frv/include/asm/thread_info.h b/arch/frv/include/asm/thread_info.h index 92d83ea99ae5..54ab13a0de41 100644 --- a/arch/frv/include/asm/thread_info.h +++ b/arch/frv/include/asm/thread_info.h | |||
@@ -21,8 +21,6 @@ | |||
21 | 21 | ||
22 | #define THREAD_SIZE 8192 | 22 | #define THREAD_SIZE 8192 |
23 | 23 | ||
24 | #define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR | ||
25 | |||
26 | /* | 24 | /* |
27 | * low level task data that entry.S needs immediate access to | 25 | * low level task data that entry.S needs immediate access to |
28 | * - this struct should fit entirely inside of one cache line | 26 | * - this struct should fit entirely inside of one cache line |
@@ -82,19 +80,6 @@ register struct thread_info *__current_thread_info asm("gr15"); | |||
82 | 80 | ||
83 | #define current_thread_info() ({ __current_thread_info; }) | 81 | #define current_thread_info() ({ __current_thread_info; }) |
84 | 82 | ||
85 | #define __HAVE_ARCH_THREAD_INFO_ALLOCATOR | ||
86 | |||
87 | /* thread information allocation */ | ||
88 | #ifdef CONFIG_DEBUG_STACK_USAGE | ||
89 | #define alloc_thread_info_node(tsk, node) \ | ||
90 | kzalloc_node(THREAD_SIZE, GFP_KERNEL, node) | ||
91 | #else | ||
92 | #define alloc_thread_info_node(tsk, node) \ | ||
93 | kmalloc_node(THREAD_SIZE, GFP_KERNEL, node) | ||
94 | #endif | ||
95 | |||
96 | #define free_thread_info(info) kfree(info) | ||
97 | |||
98 | #endif /* __ASSEMBLY__ */ | 83 | #endif /* __ASSEMBLY__ */ |
99 | 84 | ||
100 | /* | 85 | /* |