diff options
author | Yury Norov <yury.norov@gmail.com> | 2021-08-14 23:16:59 +0200 |
---|---|---|
committer | Yury Norov <yury.norov@gmail.com> | 2022-01-15 17:47:31 +0100 |
commit | 47d8c15615c0a2046d2d90b04cb80b81ddf31fb1 (patch) | |
tree | 5848250362c1d436d337750c49c46ad16eaf7709 /arch/riscv | |
parent | bitops: move find_bit_*_le functions from le.h to find.h (diff) | |
download | linux-47d8c15615c0a2046d2d90b04cb80b81ddf31fb1.tar.xz linux-47d8c15615c0a2046d2d90b04cb80b81ddf31fb1.zip |
include: move find.h from asm_generic to linux
find_bit API and bitmap API are closely related, but inclusion paths
are different - include/asm-generic and include/linux, correspondingly.
In the past it made a lot of troubles due to circular dependencies
and/or undefined symbols. Fix this by moving find.h under include/linux.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/include/asm/bitops.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h index 396a3303c537..3540b690944b 100644 --- a/arch/riscv/include/asm/bitops.h +++ b/arch/riscv/include/asm/bitops.h @@ -20,7 +20,6 @@ #include <asm-generic/bitops/fls.h> #include <asm-generic/bitops/__fls.h> #include <asm-generic/bitops/fls64.h> -#include <asm-generic/bitops/find.h> #include <asm-generic/bitops/sched.h> #include <asm-generic/bitops/ffs.h> |