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 81c2e271d620..9c768170b304 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 d4de48bd5efe..9f3dfadee09e 100644 --- a/arch/frv/kernel/process.c +++ b/arch/frv/kernel/process.c | |||
@@ -180,17 +180,6 @@ asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, | |||
180 | return do_fork(clone_flags, newsp, __frame, 0, parent_tidptr, child_tidptr); | 180 | return do_fork(clone_flags, newsp, __frame, 0, parent_tidptr, child_tidptr); |
181 | } /* end sys_clone() */ | 181 | } /* end sys_clone() */ |
182 | 182 | ||
183 | /*****************************************************************************/ | ||
184 | /* | ||
185 | * This gets called before we allocate a new thread and copy | ||
186 | * the current task into it. | ||
187 | */ | ||
188 | void prepare_to_copy(struct task_struct *tsk) | ||
189 | { | ||
190 | //unlazy_fpu(tsk); | ||
191 | } /* end prepare_to_copy() */ | ||
192 | |||
193 | /*****************************************************************************/ | ||
194 | /* | 183 | /* |
195 | * set up the kernel stack and exception frames for a new process | 184 | * set up the kernel stack and exception frames for a new process |
196 | */ | 185 | */ |