From: Gregory Haskins Date: Wed, 14 Jan 2009 13:55:39 +0000 (-0500) Subject: sched: de CPP-ify the scheduler code X-Git-Tag: firefly_0821_release~15233^2~24^2~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b07430ac37103218b5c1e542490a1b98e6deb3d6;p=firefly-linux-kernel-4.4.55.git sched: de CPP-ify the scheduler code Signed-off-by: Gregory Haskins --- 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 */