summaryrefslogtreecommitdiff
path: root/include/linux/pps_kernel.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-05-04 14:51:17 -1000
committerTejun Heo <tj@kernel.org>2026-05-15 07:24:12 -1000
commit3360a5c16d87933fb74b530f5e016eb3dfffee5d (patch)
tree628022761d3abed0c63b7d4da0b64c7e2c5bde3e /include/linux/pps_kernel.h
parent4376352f2c651ed5308a46caf21d2ccb53c240eb (diff)
cgroup: Inline cgroup_has_tasks() in cgroup.h
cpuset reads cs->css.cgroup->nr_populated_csets directly in two places to test whether a cgroup has tasks. cgroup.c already has a matching helper, cgroup_has_tasks(). Move it to cgroup.h as static inline and use that instead. This is to prepare for relocation of cgroup->nr_populated_csets. No semantic change. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions