Commit 669be61f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] wake_up_forked_thread() fix

Spotted by Randy Dunlap - don't try to return something from a void-returning
function.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2e5ae683
......@@ -738,7 +738,7 @@ extern void FASTCALL(wake_up_forked_process(struct task_struct * tsk));
static inline void kick_process(struct task_struct *tsk) { }
static inline void wake_up_forked_thread(struct task_struct * tsk)
{
return wake_up_forked_process(tsk);
wake_up_forked_process(tsk);
}
#endif
extern void FASTCALL(sched_fork(task_t * p));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment