diff options
Diffstat (limited to 'kernel/sched/core.c')
| -rw-r--r-- | kernel/sched/core.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 5255c9d2e05..33a0676ea74 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1932,7 +1932,6 @@ static void finish_task_switch(struct rq *rq, struct task_struct *prev)  	local_irq_enable();  #endif /* __ARCH_WANT_INTERRUPTS_ON_CTXSW */  	finish_lock_switch(rq, prev); -	trace_sched_stat_sleeptime(current, rq->clock);  	fire_sched_in_preempt_notifiers(current);  	if (mm) @@ -6729,7 +6728,7 @@ int __init sched_create_sysfs_power_savings_entries(struct device *dev)  static int cpuset_cpu_active(struct notifier_block *nfb, unsigned long action,  			     void *hcpu)  { -	switch (action & ~CPU_TASKS_FROZEN) { +	switch (action) {  	case CPU_ONLINE:  	case CPU_DOWN_FAILED:  		cpuset_update_active_cpus(); @@ -6742,7 +6741,7 @@ static int cpuset_cpu_active(struct notifier_block *nfb, unsigned long action,  static int cpuset_cpu_inactive(struct notifier_block *nfb, unsigned long action,  			       void *hcpu)  { -	switch (action & ~CPU_TASKS_FROZEN) { +	switch (action) {  	case CPU_DOWN_PREPARE:  		cpuset_update_active_cpus();  		return NOTIFY_OK;  | 
