git.iko.soy/typeable/nixpkgs
on master help sign in
linux: avoid memory hotplug support on most platforms

It broke i686 build, and it's probably not worth it on others, too. /cc #54095 e63414078a7.

commit3fa77297b593bdcbb74250021a0130319384288c authorVladimír Čunát <vcunat@gmail.com> dateSat 19 Jan 2019, 19:19 (8 years ago) parent0bf9656
1 file changed+1−1
pkgs/os-specific/linux/kernel/common-config.nix+1−1
pkgs/os-specific/linux/kernel/common-config.nix+1−1
@@ -687,6 +687,7 @@ let
687687 HOTPLUG_PCI_ACPI = yes; # PCI hotplug using ACPI
688688 HOTPLUG_PCI_PCIE = yes; # PCI-Expresscard hotplug support
689689
690+ } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
690691 # Enable memory hotplug support
691692 # Allows you to dynamically add & remove memory to a VM client running NixOS without requiring a reboot
692693 ACPI_HOTPLUG_MEMORY = yes;
@@ -695,7 +696,6 @@ let
695696 MIGRATION = yes;
696697 SPARSEMEM = yes;
697698
698− } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
699699 # Bump the maximum number of CPUs to support systems like EC2 x1.*
700700 # instances and Xeon Phi.
701701 NR_CPUS = "384";