diff options
| author | Corinna Vinschen <xda@vinschen.de> | 2019-04-10 20:36:23 +0200 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-05-02 17:44:25 +0200 |
| commit | 31ab448c24d5568678b78d68dac9af6a97535ab0 (patch) | |
| tree | 75dde40be2290a5830660ceb43d0f5f06d48e93c /kernel/exit.c | |
| parent | a44eca0e99e666af7f49a511df785269fcb8821a (diff) | |
clean up process flags
* Move PF_WAKE_UP_IDLE to 0x00000002 to make room for PF_SUSPEND_TASK
* Drop PF_SU in favor of a bit 'task_is_su' in the task_struct bitfield
which has still lots of room without changing the struct size.
Change-Id: I2af053ebcbb3c41b7407560008da8150a73c8c05
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
Signed-off-by: Moyster <oysterized@gmail.com>
Diffstat (limited to 'kernel/exit.c')
| -rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 5dc2ae8e8..fb5f11134 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -780,7 +780,7 @@ void do_exit(long code) exit_signals(tsk); /* sets PF_EXITING */ - if (tsk->flags & PF_SU) { + if (tsk->task_is_su) { su_exit(); } |
