diff options
-rw-r--r-- | kernel/sched_rt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 18c7b5b3158a..4eda5f795f04 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c | |||
@@ -64,8 +64,10 @@ static void dequeue_pushable_task(struct rq *rq, struct task_struct *p) | |||
64 | 64 | ||
65 | #else | 65 | #else |
66 | 66 | ||
67 | #define enqueue_pushable_task(rq, p) do { } while (0) | 67 | static inline |
68 | #define dequeue_pushable_task(rq, p) do { } while (0) | 68 | void enqueue_pushable_task(struct rq *rq, struct task_struct *p) {} |
69 | static inline | ||
70 | void dequeue_pushable_task(struct rq *rq, struct task_struct *p) {} | ||
69 | 71 | ||
70 | #endif /* CONFIG_SMP */ | 72 | #endif /* CONFIG_SMP */ |
71 | 73 | ||