diff options
| author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2010-01-27 04:12:37 -0500 |
|---|---|---|
| committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-01-27 04:12:49 -0500 |
| commit | 0b4d78903bf48fe6b125c4c9f0755437a4f21d47 (patch) | |
| tree | 1f95868d2b642809703272825a30cfdfeb1bcb82 | |
| parent | 428aecf67cf673d546627b2813bd4acabd20e3a9 (diff) | |
[S390] use set_current_state in sigsuspend
Use set_current_state instead of a direct assignment to set the
task state of the current process.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
| -rw-r--r-- | arch/s390/kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/signal.c b/arch/s390/kernel/signal.c index 1675c48b9145..6289945562b0 100644 --- a/arch/s390/kernel/signal.c +++ b/arch/s390/kernel/signal.c | |||
| @@ -64,7 +64,7 @@ SYSCALL_DEFINE3(sigsuspend, int, history0, int, history1, old_sigset_t, mask) | |||
| 64 | recalc_sigpending(); | 64 | recalc_sigpending(); |
| 65 | spin_unlock_irq(¤t->sighand->siglock); | 65 | spin_unlock_irq(¤t->sighand->siglock); |
| 66 | 66 | ||
| 67 | current->state = TASK_INTERRUPTIBLE; | 67 | set_current_state(TASK_INTERRUPTIBLE); |
| 68 | schedule(); | 68 | schedule(); |
| 69 | set_thread_flag(TIF_RESTORE_SIGMASK); | 69 | set_thread_flag(TIF_RESTORE_SIGMASK); |
| 70 | 70 | ||
