lib/cpumask: move trivial wrappers around find_bit to the header
authorYury Norov <yury.norov@gmail.com>
Fri, 1 Jul 2022 12:54:28 +0000 (05:54 -0700)
committerYury Norov <yury.norov@gmail.com>
Fri, 15 Jul 2022 13:35:54 +0000 (06:35 -0700)
commit9b2e70860ef2f0d74b6d9e57929d57b14481b9c9
treebce3421404b37fb1ea8da87488a6c589361502bf
parent8b6b795d9bfc031a8953c40fac8d3cf67e1a4d3d
lib/cpumask: move trivial wrappers around find_bit to the header

To avoid circular dependencies, cpumask keeps simple (almost) one-line
wrappers around find_bit() in a c-file.

Commit 47d8c15615c0a2 ("include: move find.h from asm_generic to linux")
moved find.h header out of asm_generic include path, and it helped to fix
many circular dependencies, including some in cpumask.h.

This patch moves those one-liners to header files.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
include/linux/cpumask.h
lib/cpumask.c