lib: Import few bitmap functions from Linux
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 9 Dec 2019 04:55:31 +0000 (10:25 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 20 Jan 2020 04:40:28 +0000 (10:10 +0530)
commit016e6d6a4f9b2b29d9b7f65cbb44874182e277b8
tree7e68e6accb21b6f8549f49bfe918dd94801bdb09
parent0a7886c84dc88011c127eebcad0c909bfce5dae8
lib: Import few bitmap functions from Linux

Import few basic bitmap functions (bitmap_{weight,fill,set,clear,or}())
and their dependencies from Linux. These are required for upcoming DMA
resource allocation support for TI's K3 SoCs.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
include/linux/bitmap.h
include/linux/bitops.h