On Mon, Dec 11, 2023 at 12:21 PM <lukas.funke-...@weidmueller.com> wrote:
>
> From: Lukas Funke <lukas.fu...@weidmueller.com>
>
> Add 'for_each_set_bitrange' (from Linux kernel) in order to iterate
> over each set bitrange of a bitmap. This becomes handy if one wants
> to generate a cpu list i.e. for isolcpu or nohz_full.
>
> Signed-off-by: Lukas Funke <lukas.fu...@weidmueller.com>
> ---
>
>  include/linux/bitmap.h | 7 +++++++
>  1 file changed, 7 insertions(+)
>

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to