projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f2750
)
[S390] signal: use set_restore_sigmask() helper
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Wed, 3 Aug 2011 14:44:32 +0000
(16:44 +0200)
committer
Heiko Carstens
<heiko.carstens@de.ibm.com>
Wed, 3 Aug 2011 14:44:21 +0000
(16:44 +0200)
We should call set_restore_sigmask() instead of directly setting
TIF_RESTORE_SIGMASK. This change should have been done three years
earlier... see 4e4c22 "signals: add set_restore_sigmask".
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/signal.c
b/arch/s390/kernel/signal.c
index 38a88b6128be0802bf7f2139aea0896ffffe5b94..9a40e1cc5ec3f5e2b5ce15268b35862d22aff28e 100644
(file)
--- a/
arch/s390/kernel/signal.c
+++ b/
arch/s390/kernel/signal.c
@@
-65,7
+65,7
@@
SYSCALL_DEFINE3(sigsuspend, int, history0, int, history1, old_sigset_t, mask)
set_current_blocked(&blocked);
set_current_state(TASK_INTERRUPTIBLE);
schedule();
- set_
thread_flag(TIF_RESTORE_SIGMASK
);
+ set_
restore_sigmask(
);
return -ERESTARTNOHAND;
}