History log of /freebsd/sys/libkern/ffs.c (Results 1 – 1 of 1)
Revision Date Author Comments
# 4c822dd4 31-Jan-2026 John Baldwin <jhb@FreeBSD.org>

libkern: Add libcalls for ffs and __ffsdi2

These are needed when compiling a RISC-V kernel with GCC which does
not inline __builtin_ffs*.

The __ffsdi2 is adapated from the previous ffsl.c.

This pa

libkern: Add libcalls for ffs and __ffsdi2

These are needed when compiling a RISC-V kernel with GCC which does
not inline __builtin_ffs*.

The __ffsdi2 is adapated from the previous ffsl.c.

This partially reverts commit f4db342d44198973c1c7b9005d0c5683a582707e.

Reviewed by: mhorne
Differential Revision: https://reviews.freebsd.org/D54967

show more ...