diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-01-13 20:39:49 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-01-17 07:51:03 +0000 |
| commit | d301aadc994f534b0d2500dd42c5c4f64d055def (patch) | |
| tree | 19246b5dd5cef639e1cb0bb754db08291e5ad44d | |
| parent | 24777428cbc248291ba70552b1c367afd7e3bbf4 (diff) | |
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)
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/acpi.h | 2 |
1 files changed, 1 insertions, 1 deletions
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> |
