Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100659
b: refs/heads/master
c: 6ad3676
h: refs/heads/master
i:
  100657: 75f0678
  100655: 0059ef1
v: v3
  • Loading branch information
Oleg Nesterov authored and Ingo Molnar committed Jun 10, 2008
1 parent 5319602 commit 490ffbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 493d35863dbb692c38c1415fd83d88dfb902ae37
refs/heads/master: 6ad36762d7a88d747f6fed95194b4f7ff5da8df4
5 changes: 1 addition & 4 deletions trunk/kernel/mutex.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,7 @@ __mutex_lock_common(struct mutex *lock, long state, unsigned int subclass,
* got a signal? (This code gets eliminated in the
* TASK_UNINTERRUPTIBLE case.)
*/
if (unlikely((state == TASK_INTERRUPTIBLE &&
signal_pending(task)) ||
(state == TASK_KILLABLE &&
fatal_signal_pending(task)))) {
if (unlikely(signal_pending_state(state, task))) {
mutex_remove_waiter(lock, &waiter,
task_thread_info(task));
mutex_release(&lock->dep_map, 1, ip);
Expand Down

0 comments on commit 490ffbd

Please sign in to comment.