Re: [PATCH 2/5] linux: bitmap.h: add 'for_each_set_bitrange' iteration macro

2023-12-26 Thread Simon Glass
On Mon, Dec 11, 2023 at 12:21 PM wrote: > > From: Lukas Funke > > 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 > ---

[PATCH 2/5] linux: bitmap.h: add 'for_each_set_bitrange' iteration macro

2023-12-11 Thread lukas . funke-oss
From: Lukas Funke 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 --- include/linux/bitmap.h | 7 +++ 1 file changed, 7