aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 070eefdd90f5..62830eaec52f 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -163,10 +163,11 @@ struct rt_prio_array {
163}; 163};
164 164
165struct rt_bandwidth { 165struct rt_bandwidth {
166 ktime_t rt_period; 166 /* nests inside the rq lock: */
167 u64 rt_runtime; 167 spinlock_t rt_runtime_lock;
168 spinlock_t rt_runtime_lock; 168 ktime_t rt_period;
169 struct hrtimer rt_period_timer; 169 u64 rt_runtime;
170 struct hrtimer rt_period_timer;
170}; 171};
171 172
172static struct rt_bandwidth def_rt_bandwidth; 173static struct rt_bandwidth def_rt_bandwidth;
@@ -403,6 +404,7 @@ struct rt_rq {
403 int rt_throttled; 404 int rt_throttled;
404 u64 rt_time; 405 u64 rt_time;
405 u64 rt_runtime; 406 u64 rt_runtime;
407 /* Nests inside the rq lock: */
406 spinlock_t rt_runtime_lock; 408 spinlock_t rt_runtime_lock;
407 409
408#ifdef CONFIG_RT_GROUP_SCHED 410#ifdef CONFIG_RT_GROUP_SCHED