diff options
author | Xiao Wang <xiao.w.wang@intel.com> | 2023-11-12 17:44:21 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-01-24 17:25:36 -0800 |
commit | cb4ede926134a65bc3bf90ed58dace8451d7e759 (patch) | |
tree | 1ae5694003cd1566bd5a460e80a16ab1f63c2688 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 05d450aabd7386246c5aafc341fe9febe5855967 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions