Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100519
b: refs/heads/master
c: bb065af
h: refs/heads/master
i:
  100517: 4372c87
  100515: c9fdbb0
  100511: 967081a
v: v3
  • Loading branch information
Steven Rostedt authored and Thomas Gleixner committed May 23, 2008
1 parent d10c20b commit db2455d
Show file tree
Hide file tree
Showing 2 changed files with 4 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: a98a3c3fde3ae7614f19758a043691b6f59dac53
refs/heads/master: bb065afb8ebd07a03155502dba29ebf0f6fe67e8
3 changes: 3 additions & 0 deletions trunk/kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ static int graph_lock(void)
__raw_spin_unlock(&lockdep_lock);
return 0;
}
/* prevent any recursions within lockdep from causing deadlocks */
current->lockdep_recursion++;
return 1;
}

Expand All @@ -90,6 +92,7 @@ static inline int graph_unlock(void)
if (debug_locks && !__raw_spin_is_locked(&lockdep_lock))
return DEBUG_LOCKS_WARN_ON(1);

current->lockdep_recursion--;
__raw_spin_unlock(&lockdep_lock);
return 0;
}
Expand Down

0 comments on commit db2455d

Please sign in to comment.