Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b07430ac authored by Gregory Haskins's avatar Gregory Haskins
Browse files

sched: de CPP-ify the scheduler code

parent 0a6d4e1d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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 */