diff options
Diffstat (limited to 'include/asm-arm/thread_info.h')
-rw-r--r-- | include/asm-arm/thread_info.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/asm-arm/thread_info.h b/include/asm-arm/thread_info.h index f5a664786311..d4be2d646160 100644 --- a/include/asm-arm/thread_info.h +++ b/include/asm-arm/thread_info.h | |||
@@ -97,19 +97,6 @@ static inline struct thread_info *current_thread_info(void) | |||
97 | return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); | 97 | return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); |
98 | } | 98 | } |
99 | 99 | ||
100 | /* thread information allocation */ | ||
101 | #ifdef CONFIG_DEBUG_STACK_USAGE | ||
102 | #define alloc_thread_info(tsk) \ | ||
103 | ((struct thread_info *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, \ | ||
104 | THREAD_SIZE_ORDER)) | ||
105 | #else | ||
106 | #define alloc_thread_info(tsk) \ | ||
107 | ((struct thread_info *)__get_free_pages(GFP_KERNEL, THREAD_SIZE_ORDER)) | ||
108 | #endif | ||
109 | |||
110 | #define free_thread_info(info) \ | ||
111 | free_pages((unsigned long)info, THREAD_SIZE_ORDER); | ||
112 | |||
113 | #define thread_saved_pc(tsk) \ | 100 | #define thread_saved_pc(tsk) \ |
114 | ((unsigned long)(pc_pointer(task_thread_info(tsk)->cpu_context.pc))) | 101 | ((unsigned long)(pc_pointer(task_thread_info(tsk)->cpu_context.pc))) |
115 | #define thread_saved_fp(tsk) \ | 102 | #define thread_saved_fp(tsk) \ |