Skip to content

Commit

Permalink
linux_testing: 4.10-rc7 -> 4.11-rc1
Browse files Browse the repository at this point in the history
Some config options got removed, so conditionalize them.
  • Loading branch information
dezgeg committed Mar 10, 2017
1 parent b52af49 commit 77c4979
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 5 additions & 2 deletions pkgs/os-specific/linux/kernel/common-config.nix
Expand Up @@ -32,17 +32,20 @@ with stdenv.lib;
# Debugging.
DEBUG_KERNEL y
DYNAMIC_DEBUG y
TIMER_STATS y
BACKTRACE_SELF_TEST n
CPU_NOTIFIER_ERROR_INJECT? n
DEBUG_DEVRES n
DEBUG_NX_TEST n
DEBUG_STACK_USAGE n
DEBUG_STACKOVERFLOW n
RCU_TORTURE_TEST n
SCHEDSTATS n
DETECT_HUNG_TASK y
${optionalString (versionOlder version "4.11") ''
TIMER_STATS y
DEBUG_NX_TEST n
''}
# Bump the maximum number of CPUs to support systems like EC2 x1.*
# instances and Xeon Phi.
${optionalString (stdenv.system == "x86_64-linux" || stdenv.system == "aarch64-linux") ''
Expand Down
8 changes: 4 additions & 4 deletions pkgs/os-specific/linux/kernel/linux-testing.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:

import ./generic.nix (args // rec {
version = "4.10-rc7";
modDirVersion = "4.10.0-rc7";
extraMeta.branch = "4.10";
version = "4.11-rc1";
modDirVersion = "4.11.0-rc1";
extraMeta.branch = "4.11";

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/testing/linux-${version}.tar.xz";
sha256 = "01jq4bxb8jcnawhsklc9aa2ba9sg7k5g97jp0slpbi8xw71dripl";
sha256 = "19zcyjqiw255d48k1mk33i1wgbiwv58nn3dw9i9079hfb843s28l";
};

features.iwlwifi = true;
Expand Down
1 change: 0 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -11483,7 +11483,6 @@ with pkgs;
kernelPatches = [
kernelPatches.bridge_stp_helper
kernelPatches.modinst_arg_list_too_long
kernelPatches.DCCP_double_free_vulnerability_CVE-2017-6074
] ++ lib.optionals ((platform.kernelArch or null) == "mips") [
kernelPatches.mips_fpureg_emu
kernelPatches.mips_fpu_sigill
Expand Down

0 comments on commit 77c4979

Please sign in to comment.