commit | c65cc8705256ad7524c97564b4fe3ca9782bf6d1 | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Mon Jul 09 18:51:58 2007 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Jul 09 18:51:58 2007 +0200 |
tree | f51e32d6b5ec813bdee5b623dd36f9af3967e8fd | |
parent | 0437e109e1841607f2988891eaa36c531c6aa6ac [diff] [blame] |
sched: uninline set_task_cpu() uninline set_task_cpu(): CFS will add more code to it. Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/kernel/sched.c b/kernel/sched.c index 46b23f0..d662497 100644 --- a/kernel/sched.c +++ b/kernel/sched.c
@@ -1111,6 +1111,12 @@ } #ifdef CONFIG_SMP + +void set_task_cpu(struct task_struct *p, unsigned int cpu) +{ + task_thread_info(p)->cpu = cpu; +} + struct migration_req { struct list_head list;