diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-01 14:39:51 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-01 14:39:51 +0100 |
commit | 4e28ec3d5fe0b994fe87b2406d75d9c351ef4940 (patch) | |
tree | af6fbb01ca736ff7e9f57bed685508bd74fc7cac /kernel/fork.c | |
parent | a2c1bc645e87346150516b3abf1933ed29d0f48b (diff) | |
parent | 6af33995318fdfb4914fb1c5e67450fdb3d32084 (diff) | |
download | linux-4e28ec3d5fe0b994fe87b2406d75d9c351ef4940.tar.gz linux-4e28ec3d5fe0b994fe87b2406d75d9c351ef4940.tar.bz2 linux-4e28ec3d5fe0b994fe87b2406d75d9c351ef4940.zip |
Merge back earlier cpuidle material for v4.10.
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 997ac1d584f7..a8eb821d1d4b 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1540,7 +1540,7 @@ static __latent_entropy struct task_struct *copy_process( goto bad_fork_cleanup_count; delayacct_tsk_init(p); /* Must remain after dup_task_struct() */ - p->flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER); + p->flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER | PF_IDLE); p->flags |= PF_FORKNOEXEC; INIT_LIST_HEAD(&p->children); INIT_LIST_HEAD(&p->sibling); |