Merge #217218: linux: fix-build on i686

This commit is contained in:
Vladimír Čunát 2023-02-20 10:38:56 +01:00
commit b69883faca
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -71,13 +71,13 @@ let
PM_WAKELOCKS = yes;
POWERCAP = yes;
# ACPI Firmware Performance Data Table Support
ACPI_FPDT = whenAtLeast "5.12" yes;
ACPI_FPDT = whenAtLeast "5.12" (option yes);
# ACPI Heterogeneous Memory Attribute Table Support
ACPI_HMAT = whenAtLeast "5.2" yes;
ACPI_HMAT = whenAtLeast "5.2" (option yes);
# ACPI Platform Error Interface
ACPI_APEI = yes;
ACPI_APEI = (option yes);
# APEI Generic Hardware Error Source
ACPI_APEI_GHES = yes;
ACPI_APEI_GHES = (option yes);
} // optionalAttrs (stdenv.hostPlatform.isx86) {
INTEL_IDLE = yes;
INTEL_RAPL = whenAtLeast "5.3" module;