Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109310
b: refs/heads/master
c: 7487017
h: refs/heads/master
v: v3
  • Loading branch information
Zhu Yi authored and Ingo Molnar committed Aug 27, 2008
1 parent 5d129a9 commit a50a236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04148b73b89d49fe0fe201bcee395e51f7d637ce
refs/heads/master: 74870172824a78640ec4f03058d9bd35dfa08618
4 changes: 2 additions & 2 deletions trunk/kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -875,11 +875,11 @@ static int add_lock_to_list(struct lock_class *class, struct lock_class *this,
if (!entry)
return 0;

entry->class = this;
entry->distance = distance;
if (!save_trace(&entry->trace))
return 0;

entry->class = this;
entry->distance = distance;
/*
* Since we never remove from the dependency list, the list can
* be walked lockless by other CPUs, it's only allocation
Expand Down

0 comments on commit a50a236

Please sign in to comment.