diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-08-09 07:18:51 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-08-09 07:20:26 -0400 |
commit | 59f51743a0366ce61f2d9f55c8c4117a84480e41 (patch) | |
tree | 5d78237b5813182c0a3176bdbff2a3e184e85071 | |
parent | 19810b4e1538f9e3994c65d20e1a8709f3e4e538 (diff) |
Introduce LITMUS^RT runqueue dummy into struct rq
-rw-r--r-- | kernel/sched/sched.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index e0e129993958..79807c2aa961 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
@@ -505,6 +505,10 @@ struct dl_rq { | |||
505 | #endif | 505 | #endif |
506 | }; | 506 | }; |
507 | 507 | ||
508 | struct litmus_rq { | ||
509 | unsigned long nr_running; | ||
510 | }; | ||
511 | |||
508 | #ifdef CONFIG_SMP | 512 | #ifdef CONFIG_SMP |
509 | 513 | ||
510 | /* | 514 | /* |
@@ -584,6 +588,7 @@ struct rq { | |||
584 | struct cfs_rq cfs; | 588 | struct cfs_rq cfs; |
585 | struct rt_rq rt; | 589 | struct rt_rq rt; |
586 | struct dl_rq dl; | 590 | struct dl_rq dl; |
591 | struct litmus_rq litmus; | ||
587 | 592 | ||
588 | #ifdef CONFIG_FAIR_GROUP_SCHED | 593 | #ifdef CONFIG_FAIR_GROUP_SCHED |
589 | /* list of leaf cfs_rq on this cpu: */ | 594 | /* list of leaf cfs_rq on this cpu: */ |