diff options
Diffstat (limited to 'include/asm-arm/thread_info.h')
-rw-r--r-- | include/asm-arm/thread_info.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/asm-arm/thread_info.h b/include/asm-arm/thread_info.h index 7c98557b717f..33a33cbb6329 100644 --- a/include/asm-arm/thread_info.h +++ b/include/asm-arm/thread_info.h | |||
@@ -96,13 +96,10 @@ static inline struct thread_info *current_thread_info(void) | |||
96 | extern struct thread_info *alloc_thread_info(struct task_struct *task); | 96 | extern struct thread_info *alloc_thread_info(struct task_struct *task); |
97 | extern void free_thread_info(struct thread_info *); | 97 | extern void free_thread_info(struct thread_info *); |
98 | 98 | ||
99 | #define get_thread_info(ti) get_task_struct((ti)->task) | ||
100 | #define put_thread_info(ti) put_task_struct((ti)->task) | ||
101 | |||
102 | #define thread_saved_pc(tsk) \ | 99 | #define thread_saved_pc(tsk) \ |
103 | ((unsigned long)(pc_pointer((tsk)->thread_info->cpu_context.pc))) | 100 | ((unsigned long)(pc_pointer(task_thread_info(tsk)->cpu_context.pc))) |
104 | #define thread_saved_fp(tsk) \ | 101 | #define thread_saved_fp(tsk) \ |
105 | ((unsigned long)((tsk)->thread_info->cpu_context.fp)) | 102 | ((unsigned long)(task_thread_info(tsk)->cpu_context.fp)) |
106 | 103 | ||
107 | extern void iwmmxt_task_disable(struct thread_info *); | 104 | extern void iwmmxt_task_disable(struct thread_info *); |
108 | extern void iwmmxt_task_copy(struct thread_info *, void *); | 105 | extern void iwmmxt_task_copy(struct thread_info *, void *); |