mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-16 12:20:10 +00:00
linux/common-config: fix MEMORY_HOTPLUG_DEFAULT_ONLINE on 6.12
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/mm/Kconfig?id=f7c7d3cc8417f8579b5a90e3f6319703951070c2 > Existing users of CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=y should use > CONFIG_MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO. was backported in https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.110
This commit is contained in:
@@ -1522,8 +1522,8 @@ let
|
||||
ACPI_HOTPLUG_CPU = yes;
|
||||
ACPI_HOTPLUG_MEMORY = yes;
|
||||
MEMORY_HOTPLUG = yes;
|
||||
MEMORY_HOTPLUG_DEFAULT_ONLINE = whenOlder "6.14" yes;
|
||||
MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO = whenAtLeast "6.14" yes;
|
||||
MEMORY_HOTPLUG_DEFAULT_ONLINE = whenOlder "6.12" yes;
|
||||
MHP_DEFAULT_ONLINE_TYPE_ONLINE_AUTO = whenAtLeast "6.12" yes;
|
||||
MEMORY_HOTREMOVE = lib.mkIf (
|
||||
with stdenv.hostPlatform;
|
||||
isLoongArch64
|
||||
|
||||
Reference in New Issue
Block a user