kernel-aes67/include/asm-generic/bitops
Xiao Wang cb4ede9261
riscv: Avoid code duplication with generic bitops implementation
There's code duplication between the fallback implementation for bitops
__ffs/__fls/ffs/fls API and the generic C implementation in
include/asm-generic/bitops/. To avoid this duplication, this patch renames
the generic C implementation by adding a "generic_" prefix to them, then we
can use these generic APIs as fallback.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Link: https://lore.kernel.org/r/20231112094421.4014931-1-xiao.w.wang@intel.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2024-01-24 17:25:36 -08:00
..
__ffs.h riscv: Avoid code duplication with generic bitops implementation 2024-01-24 17:25:36 -08:00
__fls.h riscv: Avoid code duplication with generic bitops implementation 2024-01-24 17:25:36 -08:00
arch_hweight.h
atomic.h
builtin-__ffs.h
builtin-__fls.h
builtin-ffs.h
builtin-fls.h
const_hweight.h
ext2-atomic-setbit.h
ext2-atomic.h
ffs.h riscv: Avoid code duplication with generic bitops implementation 2024-01-24 17:25:36 -08:00
ffz.h
fls.h riscv: Avoid code duplication with generic bitops implementation 2024-01-24 17:25:36 -08:00
fls64.h
generic-non-atomic.h
hweight.h
instrumented-atomic.h
instrumented-lock.h mm: delete checks for xor_unlock_is_negative_byte() 2023-10-18 14:34:17 -07:00
instrumented-non-atomic.h
le.h
lock.h mm: delete checks for xor_unlock_is_negative_byte() 2023-10-18 14:34:17 -07:00
non-atomic.h
non-instrumented-non-atomic.h
sched.h