aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2009-01-16 08:46:40 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-16 09:01:31 -0500
commitceacc2c1c85ac498ca4cf297bdfe5b4aaa9fd0e0 (patch)
tree4bac6a3e5544d90da1ee9437845120204d4bb382 /kernel/sched_rt.c
parent398a153b16b09a68739928d4502455db9725ac86 (diff)
sched: make plist a library facility
Ingo Molnar wrote: > here's a new build failure with tip/sched/rt: > > LD .tmp_vmlinux1 > kernel/built-in.o: In function `set_curr_task_rt': > sched.c:(.text+0x3675): undefined reference to `plist_del' > kernel/built-in.o: In function `pick_next_task_rt': > sched.c:(.text+0x37ce): undefined reference to `plist_del' > kernel/built-in.o: In function `enqueue_pushable_task': > sched.c:(.text+0x381c): undefined reference to `plist_del' Eliminate the plist library kconfig and make it available unconditionally. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r--kernel/sched_rt.c21
1 files changed, 15 insertions, 6 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 4230b15fe90e..48d1f6e8497a 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -114,14 +114,23 @@ static void dequeue_pushable_task(struct rq *rq, struct task_struct *p)
114 114
115#else 115#else
116 116
117static inline void enqueue_pushable_task(struct rq *rq, struct task_struct *p)
118{
119}
120
121static inline void dequeue_pushable_task(struct rq *rq, struct task_struct *p)
122{
123}
124
117static inline 125static inline
118void enqueue_pushable_task(struct rq *rq, struct task_struct *p) {} 126void inc_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq)
119static inline 127{
120void dequeue_pushable_task(struct rq *rq, struct task_struct *p) {} 128}
121static inline 129
122void inc_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq) {}
123static inline 130static inline
124void dec_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq) {} 131void dec_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq)
132{
133}
125 134
126#endif /* CONFIG_SMP */ 135#endif /* CONFIG_SMP */
127 136