intel-iommu: Fix off-by-one in RMRR setup
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 May 2011 23:22:52 +0000 (00:22 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 1 Jun 2011 11:48:21 +0000 (12:48 +0100)
commit70e535d1e5d1e4317e894d6228b762cf9c3fbc6a
tree2c7ed5f263440c6a7302c19a31827488eade9ea5
parent8519dc4401ddf8a5399f979870bbeeadbc111186
intel-iommu: Fix off-by-one in RMRR setup

We were mapping an extra byte (and hence usually an extra page):
iommu_prepare_identity_map() expects to be given an 'end' argument which
is the last byte to be mapped; not the first byte *not* to be mapped.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c