projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85b9827
)
intel-iommu: Use cmpxchg64_local() for setting PTEs
author
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 1 Jul 2009 19:27:03 +0000
(20:27 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 1 Jul 2009 19:27:03 +0000
(20:27 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c
patch
|
blob
|
history
diff --git
a/drivers/pci/intel-iommu.c
b/drivers/pci/intel-iommu.c
index 2bbc3fc88dc9f078f37f8424f61007a1c460224b..2c1b2babfdc50e10447b17e2481886c1723c395c 100644
(file)
--- a/
drivers/pci/intel-iommu.c
+++ b/
drivers/pci/intel-iommu.c
@@
-1682,7
+1682,7
@@
static int __domain_mapping(struct dmar_domain *domain, unsigned long iov_pfn,
/* We don't need lock here, nobody else
* touches the iova range
*/
- tmp = cmpxchg64(&pte->val, 0ULL, pteval);
+ tmp = cmpxchg64
_local
(&pte->val, 0ULL, pteval);
if (tmp) {
static int dumps = 5;
printk(KERN_CRIT "ERROR: DMA PTE for vPFN 0x%lx already set (to %llx not %llx)\n",