Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175861
b: refs/heads/master
c: f01eb36
h: refs/heads/master
i:
  175859: c1d3cfd
v: v3
  • Loading branch information
Linus Torvalds committed Dec 12, 2009
1 parent 0ba45fb commit 76b7f2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 6698e34720660e18b45e2e3b115ee4584d0c3b5e
refs/heads/master: f01eb3640308c005d31b29d0a8bc2b7acb4e3f75
4 changes: 3 additions & 1 deletion trunk/lib/kernel_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ void __lockfunc _lock_kernel(const char *func, const char *file, int line)

trace_lock_kernel(func, file, line);

if (likely(!depth))
if (likely(!depth)) {
might_sleep();
__lock_kernel();
}
current->lock_depth = depth;
}

Expand Down

0 comments on commit 76b7f2c

Please sign in to comment.