diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-07-09 12:51:58 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-07-09 12:51:58 -0400 |
commit | c65cc8705256ad7524c97564b4fe3ca9782bf6d1 (patch) | |
tree | f51e32d6b5ec813bdee5b623dd36f9af3967e8fd /include/linux/sched.h | |
parent | 0437e109e1841607f2988891eaa36c531c6aa6ac (diff) |
sched: uninline set_task_cpu()
uninline set_task_cpu(): CFS will add more code to it.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 8764cda0feca..4b912e753ca0 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1633,10 +1633,7 @@ static inline unsigned int task_cpu(const struct task_struct *p) | |||
1633 | return task_thread_info(p)->cpu; | 1633 | return task_thread_info(p)->cpu; |
1634 | } | 1634 | } |
1635 | 1635 | ||
1636 | static inline void set_task_cpu(struct task_struct *p, unsigned int cpu) | 1636 | extern void set_task_cpu(struct task_struct *p, unsigned int cpu); |
1637 | { | ||
1638 | task_thread_info(p)->cpu = cpu; | ||
1639 | } | ||
1640 | 1637 | ||
1641 | #else | 1638 | #else |
1642 | 1639 | ||