summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2009-07-01 18:34:52 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-07-19 20:38:54 -0700
commite1a4576be6c865f3514da6c73bc68ed0bb3e8d16 (patch)
treec985ea470e4e3d9489117e221083678f8370363b /drivers/pci
parentadb49b219d3199a39f5894431012b3c2e3bedee0 (diff)
downloadlwn-e1a4576be6c865f3514da6c73bc68ed0bb3e8d16.tar.gz
lwn-e1a4576be6c865f3514da6c73bc68ed0bb3e8d16.zip
Fix pci_unmap_addr() et al on i386.
commit 788d84bba47ea3eb377f7a3ae4fd1ee84b84877b upstream. 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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions