Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea736ed5 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched: fix checks



Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 112f53f5
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -163,9 +163,10 @@ struct rt_prio_array {
};

struct rt_bandwidth {
	/* nests inside the rq lock: */
	spinlock_t		rt_runtime_lock;
	ktime_t			rt_period;
	u64			rt_runtime;
	spinlock_t rt_runtime_lock;
	struct hrtimer		rt_period_timer;
};

@@ -403,6 +404,7 @@ struct rt_rq {
	int rt_throttled;
	u64 rt_time;
	u64 rt_runtime;
	/* Nests inside the rq lock: */
	spinlock_t rt_runtime_lock;

#ifdef CONFIG_RT_GROUP_SCHED