intel-iommu: fix Identity Mapping to be arch independent
authorChris Wright <chrisw@redhat.com>
Fri, 26 Jun 2009 01:52:05 +0000 (18:52 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 26 Jun 2009 10:26:27 +0000 (11:26 +0100)
commit7e25a2422987a37729706b18583d177966919d2a
treedd7ec2e5912b81d73998efa5ab29089ffc50eef1
parent28d0325ce6e0a52f53d8af687e6427fee59004d3
intel-iommu: fix Identity Mapping to be arch independent

Drop the e820 scanning and use existing function for finding valid
RAM regions to add to 1:1 mapping.

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