]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff47f5fdd9e1c1d93c4f1ad2cc5a7d357273e7ec
tree0b946089436df51a4444ef23069a9037853d5e61
parent1537af7fe3f009fa8867f760d008a471cabdf213
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