diff options
author | Tejun Heo <tj@kernel.org> | 2016-02-22 22:25:46 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-02-22 22:25:46 -0500 |
commit | b4e0eeafba61b141c3af22d6636be3f477c5d3bd (patch) | |
tree | d6c5d9b3b85f8ed897a8b8c4f8baef64432aa42b /kernel/task_work.c | |
parent | 8699b7762a623c46ced891b3cf490058b56cf99c (diff) | |
download | linux-b4e0eeafba61b141c3af22d6636be3f477c5d3bd.tar.bz2 |
cgroup: convert for_each_subsys_which() to do-while style
for_each_subsys_which() allows iterating subsystems specified in a
subsystem bitmask; unfortunately, it requires the mask to be an
unsigned long l-value which can be inconvenient and makes it awkward
to use a smaller type for subsystem masks.
This patch converts for_each_subsy_which() to do-while style which
allows it to drop the l-value requirement. The new iterator is named
do_each_subsys_mask() / while_each_subsys_mask().
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Aleksa Sarai <cyphar@cyphar.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions