Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5b9f97f authored by Syed Rameez Mustafa's avatar Syed Rameez Mustafa
Browse files

sched: Call sched_exit() when a task is exiting



The scheduler needs to do some book-keeping when a task exits.
Call the scheduler hook sched_exit() that takes care of all of
that necessary book-keeping.

Change-Id: I551aead70248b06f9d918e6d032075d6ecaa7fed
Signed-off-by: default avatarSyed Rameez Mustafa <rameezmustafa@codeaurora.org>
parent defea4e8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -778,6 +778,7 @@ void __noreturn do_exit(long code)

	exit_signals(tsk);  /* sets PF_EXITING */

	sched_exit(tsk);
	schedtune_exit_task(tsk);

	/*