]> git.baikalelectronics.ru Git - kernel.git/commit
exit/kthread: Move the exit code for kernel threads into struct kthread
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 3 Dec 2021 17:42:49 +0000 (11:42 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 13 Dec 2021 18:04:46 +0000 (12:04 -0600)
commit52668976e45e2ba409f9a8f870328695b6814b4b
tree82070262292fd8092903dad833453a3644398a40
parentaa52bf4ac30db52bbb570e30885c09c41365279e
exit/kthread: Move the exit code for kernel threads into struct kthread

The exit code of kernel threads has different semantics than the
exit_code of userspace tasks.  To avoid confusion and allow
the userspace implementation to change as needed move
the kernel thread exit code into struct kthread.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/kthread.c