Skip to content
Commit 05ea0424 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

exit: Move oops specific logic from do_exit into make_task_dead



The beginning of do_exit has become cluttered and difficult to read as
it is filled with checks to handle things that can only happen when
the kernel is operating improperly.

Now that we have a dedicated function for cleaning up a task when the
kernel is operating improperly move the checks there.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 0e25498f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment