summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorSamir Bellabes <sam@synack.fr>2011-05-11 18:18:05 +0200
committerIngo Molnar <mingo@elte.hu>2011-05-12 09:36:37 +0200
commit3e51e3edfd81bfd9853ad7de91167e4ce33d0fe7 (patch)
tree777d871949911f3e79a5b94545a7b6a55bdc2259 /include/linux/sched.h
parent9cb5baba5e3acba0994ad899ee908799104c9965 (diff)
downloadlinux-3e51e3edfd81bfd9853ad7de91167e4ce33d0fe7.tar.gz
linux-3e51e3edfd81bfd9853ad7de91167e4ce33d0fe7.tar.bz2
linux-3e51e3edfd81bfd9853ad7de91167e4ce33d0fe7.zip
sched: Remove unused parameters from sched_fork() and wake_up_new_task()
sched_fork() and wake_up_new_task() are defined with a parameter 'unsigned long clone_flags', which is unused. This patch removes the parameters. Signed-off-by: Samir Bellabes <sam@synack.fr> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1305130685-1047-1-git-send-email-sam@synack.fr Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 6b4280b23ee6..12211e1666e2 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2051,14 +2051,13 @@ extern void xtime_update(unsigned long ticks);
extern int wake_up_state(struct task_struct *tsk, unsigned int state);
extern int wake_up_process(struct task_struct *tsk);
-extern void wake_up_new_task(struct task_struct *tsk,
- unsigned long clone_flags);
+extern void wake_up_new_task(struct task_struct *tsk);
#ifdef CONFIG_SMP
extern void kick_process(struct task_struct *tsk);
#else
static inline void kick_process(struct task_struct *tsk) { }
#endif
-extern void sched_fork(struct task_struct *p, int clone_flags);
+extern void sched_fork(struct task_struct *p);
extern void sched_dead(struct task_struct *p);
extern void proc_caches_init(void);