aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r--kernel/sched/sched.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index ce39224d6155..e8e1bcc5aaa9 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -358,6 +358,11 @@ struct rt_rq {
358#endif 358#endif
359}; 359};
360 360
361struct litmus_rq {
362 unsigned long nr_running;
363 struct task_struct *prev;
364};
365
361#ifdef CONFIG_SMP 366#ifdef CONFIG_SMP
362 367
363/* 368/*
@@ -422,6 +427,7 @@ struct rq {
422 427
423 struct cfs_rq cfs; 428 struct cfs_rq cfs;
424 struct rt_rq rt; 429 struct rt_rq rt;
430 struct litmus_rq litmus;
425 431
426#ifdef CONFIG_FAIR_GROUP_SCHED 432#ifdef CONFIG_FAIR_GROUP_SCHED
427 /* list of leaf cfs_rq on this cpu: */ 433 /* list of leaf cfs_rq on this cpu: */