diff options
author | David Howells <dhowells@redhat.com> | 2019-10-16 15:13:41 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-10-23 17:02:34 +0100 |
commit | ce4dd4429b3c7e4506870796f3b8b06d707d2928 (patch) | |
tree | 5d436325e76805aa5db046b3873added866f6d32 /kernel/exit.c | |
parent | d055b4fb4d165b06d912e7f846610d120c3bb9fb (diff) | |
download | lwn-ce4dd4429b3c7e4506870796f3b8b06d707d2928.tar.gz lwn-ce4dd4429b3c7e4506870796f3b8b06d707d2928.zip |
Remove the nr_exclusive argument from __wake_up_sync_key()
Remove the nr_exclusive argument from __wake_up_sync_key() and derived
functions as everything seems to set it to 1. Note also that if it wasn't
set to 1, it would clear WF_SYNC anyway.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index a46a50d67002..a1ff25ef050e 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -1435,7 +1435,7 @@ static int child_wait_callback(wait_queue_entry_t *wait, unsigned mode, void __wake_up_parent(struct task_struct *p, struct task_struct *parent) { __wake_up_sync_key(&parent->signal->wait_chldexit, - TASK_INTERRUPTIBLE, 1, p); + TASK_INTERRUPTIBLE, p); } static long do_wait(struct wait_opts *wo) |