[PATCH 3/7] kernel/cpuset: current_cpuset_is_being_rebound can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes current_cpuset_is_being_rebound return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/cpuset.h | 6 +++--- kernel/cgroup/cpuset.c | 4 ++-- 2 files changed, 5 insertions(+

[PATCH 3/7] kernel/cpuset: current_cpuset_is_being_rebound can be boolean

2017-12-14 Thread Yaowei Bai
This patch makes current_cpuset_is_being_rebound return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/cpuset.h | 6 +++--- kernel/cgroup/cpuset.c | 4 ++-- 2 files changed, 5 insertions(+