pids: Initialize leader_pid in init_task

This is cheap and no cost so we might as well.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
Eric W. Biederman 2017-05-05 13:31:23 -05:00
parent ce397d215c
commit 2896b0f09f

View file

@ -33,6 +33,7 @@ static struct signal_struct init_signals = {
},
#endif
INIT_CPU_TIMERS(init_signals)
.leader_pid = &init_struct_pid,
INIT_PREV_CPUTIME(init_signals)
};