aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 54fa282657cc..19c0d5d16fef 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -359,7 +359,7 @@ static inline void finish_lock_switch(runqueue_t *rq, task_t *prev)
359 * interrupts. Note the ordering: we can safely lookup the task_rq without 359 * interrupts. Note the ordering: we can safely lookup the task_rq without
360 * explicitly disabling preemption. 360 * explicitly disabling preemption.
361 */ 361 */
362static inline runqueue_t *task_rq_lock(task_t *p, unsigned long *flags) 362static runqueue_t *task_rq_lock(task_t *p, unsigned long *flags)
363 __acquires(rq->lock) 363 __acquires(rq->lock)
364{ 364{
365 struct runqueue *rq; 365 struct runqueue *rq;