summaryrefslogtreecommitdiffstats
path: root/kernel/sched/core.c
diff options
context:
space:
mode:
authorRakib Mullick2017-04-09 03:36:14 +0200
committerTejun Heo2017-04-11 01:57:54 +0200
commit30e03acda5fd9c77ec9bf8b3c5def9540c6b0486 (patch)
tree7bc3f6678eec60cfa78f1b85bac4a503db21542c /kernel/sched/core.c
parentcgroup: switch to BUG_ON() (diff)
downloadkernel-qcow2-linux-30e03acda5fd9c77ec9bf8b3c5def9540c6b0486.tar.gz
kernel-qcow2-linux-30e03acda5fd9c77ec9bf8b3c5def9540c6b0486.tar.xz
kernel-qcow2-linux-30e03acda5fd9c77ec9bf8b3c5def9540c6b0486.zip
cpuset: Remove cpuset_update_active_cpus()'s parameter.
In cpuset_update_active_cpus(), cpu_online isn't used anymore. Remove it. Signed-off-by: Rakib Mullick<rakib.mullick@gmail.com> Acked-by: Zefan Li <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r--kernel/sched/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 956383844116..e62802c044e1 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -5727,7 +5727,7 @@ static void cpuset_cpu_active(void)
* cpuset configurations.
*/
}
- cpuset_update_active_cpus(true);
+ cpuset_update_active_cpus();
}
static int cpuset_cpu_inactive(unsigned int cpu)
@@ -5750,7 +5750,7 @@ static int cpuset_cpu_inactive(unsigned int cpu)
if (overflow)
return -EBUSY;
- cpuset_update_active_cpus(false);
+ cpuset_update_active_cpus();
} else {
num_cpus_frozen++;
partition_sched_domains(1, NULL, NULL);