]> 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)
commit773cdd70e4896fab70a8f73f048617c73aa1adb9
treebce3421404b37fb1ea8da87488a6c589361502bf
parent5fc5609caa31b583f191a4e776815f422b8c2eda
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 8454c278d5bbfe ("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