Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31822
b: refs/heads/master
c: fcb9937
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jul 3, 2006
1 parent b931a15 commit 7331d4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d730e882a15c38de02b63a063be636b2ff9e9ed1
refs/heads/master: fcb993712f231a4faea8393513d1276170679107
2 changes: 2 additions & 0 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ struct runqueue {
unsigned long ttwu_cnt;
unsigned long ttwu_local;
#endif
struct lock_class_key rq_lock_key;
};

static DEFINE_PER_CPU(struct runqueue, runqueues);
Expand Down Expand Up @@ -6656,6 +6657,7 @@ void __init sched_init(void)

rq = cpu_rq(i);
spin_lock_init(&rq->lock);
lockdep_set_class(&rq->lock, &rq->rq_lock_key);
rq->nr_running = 0;
rq->active = rq->arrays;
rq->expired = rq->arrays + 1;
Expand Down

0 comments on commit 7331d4b

Please sign in to comment.