diff options
author | Rakib Mullick <rakib.mullick@gmail.com> | 2017-04-09 07:36:14 +0600 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-04-11 08:57:54 +0900 |
commit | 30e03acda5fd9c77ec9bf8b3c5def9540c6b0486 (patch) | |
tree | 7bc3f6678eec60cfa78f1b85bac4a503db21542c /include/linux/cpuset.h | |
parent | 75fa8e5d3b1f3f7bdafcde12e973b0faaf13f1c4 (diff) | |
download | linux-30e03acda5fd9c77ec9bf8b3c5def9540c6b0486.tar.gz linux-30e03acda5fd9c77ec9bf8b3c5def9540c6b0486.tar.bz2 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 'include/linux/cpuset.h')
-rw-r--r-- | include/linux/cpuset.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index 611fce58d670..119a3f9604b0 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h @@ -42,7 +42,7 @@ static inline void cpuset_dec(void) extern int cpuset_init(void); extern void cpuset_init_smp(void); -extern void cpuset_update_active_cpus(bool cpu_online); +extern void cpuset_update_active_cpus(void); extern void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask); extern void cpuset_cpus_allowed_fallback(struct task_struct *p); extern nodemask_t cpuset_mems_allowed(struct task_struct *p); @@ -155,7 +155,7 @@ static inline bool cpusets_enabled(void) { return false; } static inline int cpuset_init(void) { return 0; } static inline void cpuset_init_smp(void) {} -static inline void cpuset_update_active_cpus(bool cpu_online) +static inline void cpuset_update_active_cpus(void) { partition_sched_domains(1, NULL, NULL); } |