mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
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>
This commit is contained in:
parent
d055b4fb4d
commit
ce4dd4429b
3 changed files with 9 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue