fix kernel builds on 32bit linux
commitb9388e9711f1c9736ccfb120f4bd972d9a78cf23
authorDomen Kožar <domen@dev.si>
dateTue 11 Nov 2014, 07:06 (12 years ago)
parent44bac05
pkgs/os-specific/linux/kernel/common-config.nix+3−1
@@ -318,7 +318,9 @@ with stdenv.lib;
318318 ${optionalString (!stdenv.is64bit) ''
319319 HIGHMEM64G? y # We need 64 GB (PAE) support for Xen guest support.
320320 ''}
321− INTEL_IOMMU_DEFAULT_ON y
321+ ${optionalString stdenv.is64bit ''
322+ INTEL_IOMMU_DEFAULT_ON y
323+ ''}
322324 ${optionalString (versionAtLeast version "3.9") ''
323325 VFIO_PCI_VGA y
324326 ''}