diff options
| author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-08-09 07:18:51 -0400 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2017-05-26 17:12:30 -0400 |
| commit | ecfddfd8a5a7fdf7fd19889b09362a8c9aa27226 (patch) | |
| tree | d99ca93d67ec375bae7ccb91cc372cb0cf64a70a /kernel | |
| parent | 2c2328ebc9dbc50e76023d54bbf4fab17197c5d4 (diff) | |
Introduce LITMUS^RT runqueue dummy into struct rq
Diffstat (limited to 'kernel')
| -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 055f935d4421..bce8ff9d43f1 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
| @@ -537,6 +537,10 @@ struct dl_rq { | |||
| 537 | #endif | 537 | #endif |
| 538 | }; | 538 | }; |
| 539 | 539 | ||
| 540 | struct litmus_rq { | ||
| 541 | unsigned long nr_running; | ||
| 542 | }; | ||
| 543 | |||
| 540 | #ifdef CONFIG_SMP | 544 | #ifdef CONFIG_SMP |
| 541 | 545 | ||
| 542 | /* | 546 | /* |
| @@ -619,6 +623,7 @@ struct rq { | |||
| 619 | struct cfs_rq cfs; | 623 | struct cfs_rq cfs; |
| 620 | struct rt_rq rt; | 624 | struct rt_rq rt; |
| 621 | struct dl_rq dl; | 625 | struct dl_rq dl; |
| 626 | struct litmus_rq litmus; | ||
| 622 | 627 | ||
| 623 | #ifdef CONFIG_FAIR_GROUP_SCHED | 628 | #ifdef CONFIG_FAIR_GROUP_SCHED |
| 624 | /* list of leaf cfs_rq on this cpu: */ | 629 | /* list of leaf cfs_rq on this cpu: */ |
