projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usb: dwc_otg_310: fix usb vbus power controlled by pmic
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
exit.c
diff --git
a/kernel/exit.c
b/kernel/exit.c
index ffba5df4abd54cd2dc146a09fa152ed84502e213..62c4bd4abd3a2a99aac0d4cf6fde311770cf0a0d 100644
(file)
--- a/
kernel/exit.c
+++ b/
kernel/exit.c
@@
-54,6
+54,8
@@
#include <linux/writeback.h>
#include <linux/shm.h>
#include <linux/writeback.h>
#include <linux/shm.h>
+#include "sched/tune.h"
+
#include <asm/uaccess.h>
#include <asm/unistd.h>
#include <asm/pgtable.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
#include <asm/pgtable.h>
@@
-699,6
+701,9
@@
void do_exit(long code)
}
exit_signals(tsk); /* sets PF_EXITING */
}
exit_signals(tsk); /* sets PF_EXITING */
+
+ schedtune_exit_task(tsk);
+
/*
* tsk->flags are checked in the futex code to protect against
* an exiting task cleaning up the robust pi futexes.
/*
* tsk->flags are checked in the futex code to protect against
* an exiting task cleaning up the robust pi futexes.