@@ -12837,7 +12837,6 @@ with pkgs;
1283712837 kernelPatches = with kernelPatches; [
1283812838 kernelPatches.bridge_stp_helper
1283912839 kernelPatches.modinst_arg_list_too_long
12840− kernelPatches.cpu-cgroup-v2."4.11"
1284112840 kernelPatches.tag_hardened
1284212841 ];
1284312842 extraConfig = import ../os-specific/linux/kernel/hardened-config.nix {
@@ -12924,6 +12923,21 @@ with pkgs;
1292412923 ];
1292512924 };
1292612925
12926+ linux_4_15 = callPackage ../os-specific/linux/kernel/linux-4.15.nix {
12927+ kernelPatches =
12928+ [ kernelPatches.bridge_stp_helper
12929+ # See pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/README.md
12930+ # when adding a new linux version
12931+ # kernelPatches.cpu-cgroup-v2."4.11"
12932+ kernelPatches.modinst_arg_list_too_long
12933+ ]
12934+ ++ lib.optionals ((platform.kernelArch or null) == "mips")
12935+ [ kernelPatches.mips_fpureg_emu
12936+ kernelPatches.mips_fpu_sigill
12937+ kernelPatches.mips_ext3_n32
12938+ ];
12939+ };
12940+
1292712941 linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
1292812942 kernelPatches = [
1292912943 kernelPatches.bridge_stp_helper
@@ -13112,7 +13126,7 @@ with pkgs;
1311213126 linux = linuxPackages.kernel;
1311313127
1311413128 # Update this when adding the newest kernel major version!
13115− linuxPackages_latest = linuxPackages_4_14;
13129+ linuxPackages_latest = linuxPackages_4_15;
1311613130 linux_latest = linuxPackages_latest.kernel;
1311713131
1311813132 # Build the kernel modules for the some of the kernels.