diff options
| author | Xiao Wang <[email protected]> | 2023-11-12 09:44:21 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-01-25 01:25:36 +0000 |
| commit | cb4ede926134a65bc3bf90ed58dace8451d7e759 (patch) | |
| tree | 1ae5694003cd1566bd5a460e80a16ab1f63c2688 /scripts/bpf_doc.py | |
| parent | riscv: Support RANDOMIZE_KSTACK_OFFSET (diff) | |
| download | kernel-cb4ede926134a65bc3bf90ed58dace8451d7e759.tar.gz kernel-cb4ede926134a65bc3bf90ed58dace8451d7e759.zip | |
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 <[email protected]>
Signed-off-by: Xiao Wang <[email protected]>
Reviewed-by: Charlie Jenkins <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
