summaryrefslogtreecommitdiffstats
path: root/kernel/sched/rt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched/rt.c')
-rw-r--r--kernel/sched/rt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index aad49451584e..c80563b4f6b9 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -2292,6 +2292,14 @@ static void watchdog(struct rq *rq, struct task_struct *p)
2292static inline void watchdog(struct rq *rq, struct task_struct *p) { } 2292static inline void watchdog(struct rq *rq, struct task_struct *p) { }
2293#endif 2293#endif
2294 2294
2295/*
2296 * scheduler tick hitting a task of our scheduling class.
2297 *
2298 * NOTE: This function can be called remotely by the tick offload that
2299 * goes along full dynticks. Therefore no local assumption can be made
2300 * and everything must be accessed through the @rq and @curr passed in
2301 * parameters.
2302 */
2295static void task_tick_rt(struct rq *rq, struct task_struct *p, int queued) 2303static void task_tick_rt(struct rq *rq, struct task_struct *p, int queued)
2296{ 2304{
2297 struct sched_rt_entity *rt_se = &p->rt; 2305 struct sched_rt_entity *rt_se = &p->rt;