diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-07-01 16:30:19 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-08-07 03:46:55 -0400 |
commit | 9ef01e22ab64b6576dc7261afef08f779f533a0b (patch) | |
tree | 860daa92e716741154cce56f416a797614790e1e | |
parent | 44152dd082c637229d45ac0041101370a0d5528a (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 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 | ||
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: */ |