summaryrefslogtreecommitdiffstats
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2019-09-09 09:33:22 -0400
committerGitHub <noreply@github.com>2019-09-09 09:33:22 -0400
commit667712abe435470d52f0b59542193fa33c37e976 (patch)
tree20168b1962e82b7dcceaf39ff65b300d96715a80 /pkgs/os-specific
parent8a18c9f26148d1bcfcd9ba711d56e8bdb80899a1 (diff)
parent2e94b9853c4d76dd8a2524ee79d72a0adce1a965 (diff)
Merge pull request #68312 from mat8913/patch-2
kernel: Enable X86_AMD_PLATFORM_DEVICE
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 7bffc54673bd..a73a4b9cc047 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -699,6 +699,8 @@ let
PREEMPT = no;
PREEMPT_VOLUNTARY = yes;
+
+ X86_AMD_PLATFORM_DEVICE = yes;
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
# Enable CPU/memory hotplug support