git: f4c40a5acb16 - main - riscv: Add ffs.c and ffsdi2.c

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Sat, 31 Jan 2026 17:21:32 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=f4c40a5acb16e542934ed17ee475183b87420eae

commit f4c40a5acb16e542934ed17ee475183b87420eae
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-01-31 17:21:11 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-01-31 17:21:11 +0000

    riscv: Add ffs.c and ffsdi2.c
    
    These are only needed for GCC, but it doesn't hurt to include these
    always.
    
    Reviewed by:    mhorne
    Differential Revision:  https://reviews.freebsd.org/D54968
---
 sys/conf/files.riscv | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/conf/files.riscv b/sys/conf/files.riscv
index 2a80064e88ba..90a74367a54f 100644
--- a/sys/conf/files.riscv
+++ b/sys/conf/files.riscv
@@ -34,6 +34,8 @@ kern/subr_dummy_vdso_tc.c	standard
 kern/subr_efi_map.c		standard
 kern/subr_intr.c		standard
 kern/subr_physmem.c		standard
+libkern/ffs.c			standard
+libkern/ffsdi2.c		standard
 libkern/bcopy.c			standard
 libkern/memcmp.c		standard
 libkern/memset.c		standard