summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/patches.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-05-12 04:16:21 +0200
committerRobert Hensing <robert@roberthensing.nl>2023-05-15 05:48:56 +0200
commit17d26e4c7fc1ab8697d63523daf2d2742f432d2a (patch)
treeefe66e0eb484ed51389755ec6cdaa2dcfb90ce57 /pkgs/os-specific/linux/kernel/patches.nix
parent3fc5d42ecdd5e5316f434e6ecc8029112fffe40a (diff)
downloadnixpkgs-17d26e4c7fc1ab8697d63523daf2d2742f432d2a.tar
nixpkgs-17d26e4c7fc1ab8697d63523daf2d2742f432d2a.tar.gz
nixpkgs-17d26e4c7fc1ab8697d63523daf2d2742f432d2a.tar.bz2
nixpkgs-17d26e4c7fc1ab8697d63523daf2d2742f432d2a.tar.lz
nixpkgs-17d26e4c7fc1ab8697d63523daf2d2742f432d2a.tar.xz
nixpkgs-17d26e4c7fc1ab8697d63523daf2d2742f432d2a.tar.zst
nixpkgs-17d26e4c7fc1ab8697d63523daf2d2742f432d2a.zip
linux: patch to fix MAP_32BIT crashes, e.g. Haskell
Diffstat (limited to 'pkgs/os-specific/linux/kernel/patches.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/patches.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix
index f2225096dd5..3a76ed2d088 100644
--- a/pkgs/os-specific/linux/kernel/patches.nix
+++ b/pkgs/os-specific/linux/kernel/patches.nix
@@ -58,6 +58,15 @@
     patch = ./export-rt-sched-migrate.patch;
   };
 
+  make-maple-state-reusable-after-mas_empty_area = rec {
+    name = "make-maple-state-reusable-after-mas_empty_area";
+    patch = fetchpatch {
+      name = name + ".patch";
+      url = "https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/patch/?id=39bf07d812b888b23983a9443ad967ca9b61551d";
+      hash = "sha256-JHEFq+Gw8Dtl0M8pXcKXpwkaHhbbl5NwTSzvV5qP4hk=";
+    };
+  };
+
   fix-em-ice-bonding = {
     name = "fix-em-ice-bonding";
     patch = ./fix-em-ice-bonding.patch;