From 59f51743a0366ce61f2d9f55c8c4117a84480e41 Mon Sep 17 00:00:00 2001 From: Bjoern Brandenburg Date: Sun, 9 Aug 2015 13:18:51 +0200 Subject: Introduce LITMUS^RT runqueue dummy into struct rq --- kernel/sched/sched.h | 5 +++++ 1 file changed, 5 insertions(+) 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 { #endif }; +struct litmus_rq { + unsigned long nr_running; +}; + #ifdef CONFIG_SMP /* @@ -584,6 +588,7 @@ struct rq { struct cfs_rq cfs; struct rt_rq rt; struct dl_rq dl; + struct litmus_rq litmus; #ifdef CONFIG_FAIR_GROUP_SCHED /* list of leaf cfs_rq on this cpu: */ -- cgit v1.2.2