intel-iommu: Limit DOMAIN_MAX_PFN to fit in an 'unsigned long'
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 19 Sep 2009 14:34:04 +0000 (07:34 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 19 Sep 2009 14:34:04 +0000 (07:34 -0700)
commit2ebe31513fcbe7a781f27002f065b50ae195022f
treee593fd5e1a2f952c768e7c235f9a25771a6ea59e
parent074835f0143b83845af5044af2739c52c9f53808
intel-iommu: Limit DOMAIN_MAX_PFN to fit in an 'unsigned long'

This means we're limited to 44-bit addresses on 32-bit kernels, and
makes it sane for us to use 'unsigned long' for PFNs throughout.

Which is just as well, really, since we already do that.

Reported-by: Benjamin LaHaise <ben.lahaise@neterion.com>
Tested-by: Benjamin LaHaise <ben.lahaise@neterion.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c