Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2026 13:09:10 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d301aadc994f - stable/15 - LinuxKPI: include acpi headers for RISC-V
Message-ID:  <696b89f6.44295.22cc3597@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by bz:

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

commit d301aadc994f534b0d2500dd42c5c4f64d055def
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-01-13 20:39:49 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-01-17 07:51:03 +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
    Reviewed by:    emaste
    Differential Revision: https://reviews.freebsd.org/D54692
    
    (cherry picked from commit c71f18998e0b107845f2b627861225bf6156cda6)
---
 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>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696b89f6.44295.22cc3597>