Merge pull request #68312 from mat8913/patch-2

kernel: Enable X86_AMD_PLATFORM_DEVICE
This commit is contained in:
Samuel Dionne-Riel 2019-09-09 09:33:22 -04:00 committed by GitHub
commit 667712abe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -700,6 +700,8 @@ let
PREEMPT = no; PREEMPT = no;
PREEMPT_VOLUNTARY = yes; PREEMPT_VOLUNTARY = yes;
X86_AMD_PLATFORM_DEVICE = yes;
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") { } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
# Enable CPU/memory hotplug support # Enable CPU/memory hotplug support
# Allows you to dynamically add & remove CPUs/memory to a VM client running NixOS without requiring a reboot # Allows you to dynamically add & remove CPUs/memory to a VM client running NixOS without requiring a reboot