linux/common-config: fix errors on i386 (#434030)

authored by K900 and committed by GitHub ba788cb0 3d62d9c5

+2 -1
+2 -1
pkgs/os-specific/linux/kernel/common-config.nix
··· 37 37 whenPlatformHasEBPFJit = lib.mkIf ( 38 38 stdenv.hostPlatform.isAarch32 39 39 || stdenv.hostPlatform.isAarch64 40 - || stdenv.hostPlatform.isx86_64 40 + || stdenv.hostPlatform.isx86 41 41 || (stdenv.hostPlatform.isPower && stdenv.hostPlatform.is64bit) 42 42 || (stdenv.hostPlatform.isMips && stdenv.hostPlatform.is64bit) 43 43 ); ··· 111 111 112 112 # Enable crashkernel support 113 113 PROC_VMCORE = yes; 114 + HIGHMEM4G = lib.mkIf (stdenv.hostPlatform.isx86 && stdenv.hostPlatform.is32bit) yes; 114 115 115 116 # Track memory leaks and performance issues related to allocations. 116 117 MEM_ALLOC_PROFILING = whenAtLeast "6.10" yes;