diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-07-01 16:30:19 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2014-06-07 05:30:53 -0400 |
commit | 3d29aba2bbb29b811a4196ff391cf84f0bb93fd7 (patch) | |
tree | dfb14f5b0c6672d59924367a2df09bd0e6df522c | |
parent | 69f637581ef18810e0b53b13b62faca2fde167ab (diff) |
Introduce LITMUS^RT runqueue dummy into struct rq
-rw-r--r-- | kernel/sched/sched.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index dfa31d533e3f..62f508bf001f 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 | ||
361 | struct 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: */ |