projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a6d4e1
)
sched: de CPP-ify the scheduler code
author
Gregory Haskins
<ghaskins@novell.com>
Wed, 14 Jan 2009 13:55:39 +0000
(08:55 -0500)
committer
Gregory Haskins
<ghaskins@novell.com>
Wed, 14 Jan 2009 13:55:39 +0000
(08:55 -0500)
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
kernel/sched_rt.c
patch
|
blob
|
history
diff --git
a/kernel/sched_rt.c
b/kernel/sched_rt.c
index 18c7b5b3158aaa1a75ce2fa746d70c71c5a5fa92..4eda5f795f04323f994bcc44399f03cf28d50aaa 100644
(file)
--- 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 */