Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275503
b: refs/heads/master
c: fa2fb2f
h: refs/heads/master
i:
  275501: 58cf7e9
  275499: 480495e
  275495: 2cc787b
  275487: e39b541
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Nov 14, 2011
1 parent c451440 commit f79d6af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: 09b538833b85521d937a06faf61e6a3273253cc0
refs/heads/master: fa2fb2f4a599c402bb2670dde27867dbbb7e3c45
9 changes: 7 additions & 2 deletions trunk/arch/s390/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,13 @@ static void pfault_interrupt(unsigned int ext_int_code,
} else {
/* Completion interrupt was faster than initial
* interrupt. Set pfault_wait to -1 so the initial
* interrupt doesn't put the task to sleep. */
tsk->thread.pfault_wait = -1;
* interrupt doesn't put the task to sleep.
* If the task is not running, ignore the completion
* interrupt since it must be a leftover of a PFAULT
* CANCEL operation which didn't remove all pending
* completion interrupts. */
if (tsk->state == TASK_RUNNING)
tsk->thread.pfault_wait = -1;
}
put_task_struct(tsk);
} else {
Expand Down

0 comments on commit f79d6af

Please sign in to comment.