]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit697a6ba9175e2f4069891781e7e074e0e32d4c84
treebce3421404b37fb1ea8da87488a6c589361502bf
parentc75b36ec53fd20144ef39a61ee7337086fb37898
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 c3762d069d819a ("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