mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
sched: de CPP-ify the scheduler code
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
This commit is contained in:
parent
0a6d4e1dc9
commit
b07430ac37
1 changed files with 4 additions and 2 deletions
|
@ -64,8 +64,10 @@ static void dequeue_pushable_task(struct rq *rq, struct task_struct *p)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define enqueue_pushable_task(rq, p) do { } while (0)
|
static inline
|
||||||
#define dequeue_pushable_task(rq, p) do { } while (0)
|
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 */
|
#endif /* CONFIG_SMP */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue