Skip to content

Commit

Permalink
sched: fix checks
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Apr 19, 2008
1 parent 112f53f commit ea736ed
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,11 @@ struct rt_prio_array {
};

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

static struct rt_bandwidth def_rt_bandwidth;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ea736ed

Please sign in to comment.