diff options
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/include/asm/processor.h | 2 | ||||
-rw-r--r-- | arch/frv/kernel/process.c | 11 |
2 files changed, 0 insertions, 13 deletions
diff --git a/arch/frv/include/asm/processor.h b/arch/frv/include/asm/processor.h index 9b1a92b73f6..a8311d364e2 100644 --- a/arch/frv/include/asm/processor.h +++ b/arch/frv/include/asm/processor.h | |||
@@ -103,8 +103,6 @@ do { \ | |||
103 | __frame->sp = (_usp); \ | 103 | __frame->sp = (_usp); \ |
104 | } while(0) | 104 | } while(0) |
105 | 105 | ||
106 | extern void prepare_to_copy(struct task_struct *tsk); | ||
107 | |||
108 | /* Free all resources held by a thread. */ | 106 | /* Free all resources held by a thread. */ |
109 | static inline void release_thread(struct task_struct *dead_task) | 107 | static inline void release_thread(struct task_struct *dead_task) |
110 | { | 108 | { |
diff --git a/arch/frv/kernel/process.c b/arch/frv/kernel/process.c index ed09e9e2c65..ff95f50efea 100644 --- a/arch/frv/kernel/process.c +++ b/arch/frv/kernel/process.c | |||
@@ -165,17 +165,6 @@ asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, | |||
165 | return do_fork(clone_flags, newsp, __frame, 0, parent_tidptr, child_tidptr); | 165 | return do_fork(clone_flags, newsp, __frame, 0, parent_tidptr, child_tidptr); |
166 | } /* end sys_clone() */ | 166 | } /* end sys_clone() */ |
167 | 167 | ||
168 | /*****************************************************************************/ | ||
169 | /* | ||
170 | * This gets called before we allocate a new thread and copy | ||
171 | * the current task into it. | ||
172 | */ | ||
173 | void prepare_to_copy(struct task_struct *tsk) | ||
174 | { | ||
175 | //unlazy_fpu(tsk); | ||
176 | } /* end prepare_to_copy() */ | ||
177 | |||
178 | /*****************************************************************************/ | ||
179 | /* | 168 | /* |
180 | * set up the kernel stack and exception frames for a new process | 169 | * set up the kernel stack and exception frames for a new process |
181 | */ | 170 | */ |