diff options
Diffstat (limited to 'kernel/sched_rt.c')
-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 | ||