aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/iova.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2009-07-01 18:34:52 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-01 11:19:29 -0700
commit788d84bba47ea3eb377f7a3ae4fd1ee84b84877b (patch)
treef2241d5da4fe36949d1f5964d5134b883b329840 /drivers/pci/iova.c
parente2dbe12557d85d81f4527879499f55681c3cca4f (diff)
downloadkernel_samsung_smdk4412-788d84bba47ea3eb377f7a3ae4fd1ee84b84877b.zip
kernel_samsung_smdk4412-788d84bba47ea3eb377f7a3ae4fd1ee84b84877b.tar.gz
kernel_samsung_smdk4412-788d84bba47ea3eb377f7a3ae4fd1ee84b84877b.tar.bz2
Fix pci_unmap_addr() et al on i386.
We can run a 32-bit kernel on boxes with an IOMMU, so we need pci_unmap_addr() etc. to work -- without it, drivers will leak mappings. To be honest, this whole thing looks like it's more pain than it's worth; I'm half inclined to remove the no-op #else case altogether. But this is the minimal fix, which just does the right thing if CONFIG_DMAR is set. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Cc: stable@kernel.org [ for 2.6.30 ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pci/iova.c')
0 files changed, 0 insertions, 0 deletions