diff options
author | Peter Zijlstra <peterz@infradead.org> | 2009-01-16 08:46:40 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-16 09:01:31 -0500 |
commit | ceacc2c1c85ac498ca4cf297bdfe5b4aaa9fd0e0 (patch) | |
tree | 4bac6a3e5544d90da1ee9437845120204d4bb382 /kernel | |
parent | 398a153b16b09a68739928d4502455db9725ac86 (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')
-rw-r--r-- | kernel/sched_rt.c | 21 |
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 | ||
117 | static inline void enqueue_pushable_task(struct rq *rq, struct task_struct *p) | ||
118 | { | ||
119 | } | ||
120 | |||
121 | static inline void dequeue_pushable_task(struct rq *rq, struct task_struct *p) | ||
122 | { | ||
123 | } | ||
124 | |||
117 | static inline | 125 | static inline |
118 | void enqueue_pushable_task(struct rq *rq, struct task_struct *p) {} | 126 | void inc_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq) |
119 | static inline | 127 | { |
120 | void dequeue_pushable_task(struct rq *rq, struct task_struct *p) {} | 128 | } |
121 | static inline | 129 | |
122 | void inc_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq) {} | ||
123 | static inline | 130 | static inline |
124 | void dec_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq) {} | 131 | void 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 | ||