diff options
author | Gregory Haskins <ghaskins@novell.com> | 2009-01-14 14:55:39 +0100 |
---|---|---|
committer | Gregory Haskins <ghaskins@novell.com> | 2009-01-14 14:55:39 +0100 |
commit | b07430ac37103218b5c1e542490a1b98e6deb3d6 (patch) | |
tree | 044c638594e5d04939e99ef24ad837e2121daf21 /kernel/sched_rt.c | |
parent | Merge branch 'sched/latest' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-b07430ac37103218b5c1e542490a1b98e6deb3d6.tar.xz linux-b07430ac37103218b5c1e542490a1b98e6deb3d6.zip |
sched: de CPP-ify the scheduler code
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Diffstat (limited to 'kernel/sched_rt.c')
-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) #else -#define enqueue_pushable_task(rq, p) do { } while (0) -#define dequeue_pushable_task(rq, p) do { } while (0) +static inline +void enqueue_pushable_task(struct rq *rq, struct task_struct *p) {} +static inline +void dequeue_pushable_task(struct rq *rq, struct task_struct *p) {} #endif /* CONFIG_SMP */ |