summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorFedora Kernel Team <kernel-team@fedoraproject.org>2021-02-16 19:22:36 +0300
committerFu Wei <fu.wei@linaro.org>2021-02-16 19:22:36 +0300
commit89362d176113d6aad13e750e0c32d5982bf5a9da (patch)
tree9f8b30fcd7f1d1eff414cbab05e736b0ef4fff71 /init
parent2c85ebc57b3e1817b6ce1a6b703928e113a90442 (diff)
downloadlinux-89362d176113d6aad13e750e0c32d5982bf5a9da.tar.xz
Stable update
Diffstat (limited to 'init')
-rw-r--r--init/init_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init_task.c b/init/init_task.c
index a56f0abb63e9..15f6eb93a04f 100644
--- a/init/init_task.c
+++ b/init/init_task.c
@@ -26,7 +26,7 @@ static struct signal_struct init_signals = {
.multiprocess = HLIST_HEAD_INIT,
.rlim = INIT_RLIMITS,
.cred_guard_mutex = __MUTEX_INITIALIZER(init_signals.cred_guard_mutex),
- .exec_update_mutex = __MUTEX_INITIALIZER(init_signals.exec_update_mutex),
+ .exec_update_lock = __RWSEM_INITIALIZER(init_signals.exec_update_lock),
#ifdef CONFIG_POSIX_TIMERS
.posix_timers = LIST_HEAD_INIT(init_signals.posix_timers),
.cputimer = {