bitmaps: import for_each_set_bit() macro
authorVignesh Raghavendra <vigneshr@ti.com>
Tue, 1 Oct 2019 11:56:30 +0000 (17:26 +0530)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 6 Nov 2019 23:24:59 +0000 (00:24 +0100)
commitc93e305af72a344c66f467899b6277b4d3d94db9
treea6b38ce16896abf5d3b2084af79abc2b87a38f0c
parentc37f594280aa3fc9d534420581f7db47ac843297
bitmaps: import for_each_set_bit() macro

Import for_each_set_bit() and associated macros and functions from
Linux. This is useful in parsing interrupt registers and take action on
each bit that is set.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
include/linux/bitmap.h