summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-07-09 18:51:58 +0200
committerIngo Molnar <mingo@elte.hu>2007-07-09 18:51:58 +0200
commitc65cc8705256ad7524c97564b4fe3ca9782bf6d1 (patch)
treef51e32d6b5ec813bdee5b623dd36f9af3967e8fd /include
parent0437e109e1841607f2988891eaa36c531c6aa6ac (diff)
downloadop-kernel-dev-c65cc8705256ad7524c97564b4fe3ca9782bf6d1.zip
op-kernel-dev-c65cc8705256ad7524c97564b4fe3ca9782bf6d1.tar.gz
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')
-rw-r--r--include/linux/sched.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 8764cda..4b912e7 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)
return task_thread_info(p)->cpu;
}
-static inline void set_task_cpu(struct task_struct *p, unsigned int cpu)
-{
- task_thread_info(p)->cpu = cpu;
-}
+extern void set_task_cpu(struct task_struct *p, unsigned int cpu);
#else
OpenPOWER on IntegriCloud