intel-iommu: Kill superfluous mapping_lock
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 1 Jul 2009 18:30:28 +0000 (19:30 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 1 Jul 2009 18:43:37 +0000 (19:43 +0100)
commit206a73c102fc480ba072a9388bc2142c303113aa
tree0b946089436df51a4444ef23069a9037853d5e61
parentc85994e4771025ef2a66533eb1a4c6c2217b9cda
intel-iommu: Kill superfluous mapping_lock

Since we're using cmpxchg64() anyway (because that's the only way to do
an atomic 64-bit store on i386), we might as well ditch the extra
locking and just use cmpxchg64() to ensure that we don't add the page
twice.

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