The branch main has been updated by bz:

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

commit c71f18998e0b107845f2b627861225bf6156cda6
Author:     Bjoern A. Zeeb <[email protected]>
AuthorDate: 2026-01-13 20:39:49 +0000
Commit:     Bjoern A. Zeeb <[email protected]>
CommitDate: 2026-01-14 18:08:39 +0000

    LinuxKPI: include acpi headers for RISC-V
    
    In order to compile iwlwifi(4), which is reported to work on RISC-V,
    include the ACPI headers to avoid adding further FreeBSD-specific #ifdefs
    to the driver.  With this iwlwifi(4) just compiles on RISC-V (at least
    if ACPI support is turned off in the module Makefile).
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    Reviewed by:    emaste
    Differential Revision: https://reviews.freebsd.org/D54692
---
 sys/compat/linuxkpi/common/include/linux/acpi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/acpi.h 
b/sys/compat/linuxkpi/common/include/linux/acpi.h
index 3e1ec1b20626..a764a975c983 100644
--- a/sys/compat/linuxkpi/common/include/linux/acpi.h
+++ b/sys/compat/linuxkpi/common/include/linux/acpi.h
@@ -32,7 +32,7 @@
 #include <linux/device.h>
 #include <linux/uuid.h>
 
-#if defined(__aarch64__) || defined(__amd64__) || defined(__i386__)
+#if defined(__aarch64__) || defined(__amd64__) || defined(__i386__) || 
defined(__riscv)
 
 #include <acpi/acpi.h>
 #include <acpi/acpi_bus.h>

Reply via email to