From: Martin Schwidefsky Date: Wed, 27 Jan 2010 09:12:37 +0000 (+0100) Subject: [S390] use set_current_state in sigsuspend X-Git-Tag: v3.0~6134^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b4d78903bf48fe6b125c4c9f0755437a4f21d47;p=platform%2Fkernel%2Flinux-amlogic.git [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 --- diff --git a/arch/s390/kernel/signal.c b/arch/s390/kernel/signal.c index 1675c48..6289945 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) recalc_sigpending(); spin_unlock_irq(¤t->sighand->siglock); - current->state = TASK_INTERRUPTIBLE; + set_current_state(TASK_INTERRUPTIBLE); schedule(); set_thread_flag(TIF_RESTORE_SIGMASK);