Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44471
b: refs/heads/master
c: 23d95a0
h: refs/heads/master
i:
  44469: f7264d0
  44467: 1b12152
  44463: b9d4f21
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Dec 13, 2006
1 parent cf13b35 commit 6fc0b2b
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: 81fc685a898f84d0787eeebb1c118de0bd3484a0
refs/heads/master: 23d95a03d63eff25118b50737006ce6e7c1b8def
3 changes: 3 additions & 0 deletions trunk/kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -2437,6 +2437,7 @@ EXPORT_SYMBOL_GPL(lock_release);
void lockdep_reset(void)
{
unsigned long flags;
int i;

raw_local_irq_save(flags);
current->curr_chain_key = 0;
Expand All @@ -2447,6 +2448,8 @@ void lockdep_reset(void)
nr_softirq_chains = 0;
nr_process_chains = 0;
debug_locks = 1;
for (i = 0; i < CHAINHASH_SIZE; i++)
INIT_LIST_HEAD(chainhash_table + i);
raw_local_irq_restore(flags);
}

Expand Down

0 comments on commit 6fc0b2b

Please sign in to comment.