3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request from lheckemann/fsl_uapi

linux: enable FSL_MC_UAPI_SUPPORT
This commit is contained in:
Linus Heckemann 2021-12-24 00:33:46 +01:00 committed by GitHub
commit e998439b18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -877,6 +877,7 @@ let
SCHED_CORE = whenAtLeast "5.14" yes;
FSL_MC_UAPI_SUPPORT = mkIf (stdenv.hostPlatform.system == "aarch64-linux") (whenAtLeast "5.12" yes);
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
# Enable CPU/memory hotplug support
# Allows you to dynamically add & remove CPUs/memory to a VM client running NixOS without requiring a reboot