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
This commit is contained in:
Bjoern A. Zeeb
2026-01-13 20:39:49 +00:00
parent 0fa7b3bee7
commit c71f18998e
@@ -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>