Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35868
b: refs/heads/master
c: 3fa7c79
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Sep 26, 2006
1 parent 3370434 commit 6a58022
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 5a1b3999d6cb7ab87f1f3b1700bc91839fd6fa29
refs/heads/master: 3fa7c794fe4dc127f7fac3fad4d13628e68f89ce
4 changes: 4 additions & 0 deletions trunk/kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,11 @@ static int save_trace(struct stack_trace *trace)
trace->skip = 3;
trace->all_contexts = 0;

/* Make sure to not recurse in case the the unwinder needs to tak
e locks. */
lockdep_off();
save_stack_trace(trace, NULL);
lockdep_on();

trace->max_entries = trace->nr_entries;

Expand Down

0 comments on commit 6a58022

Please sign in to comment.