projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9d41b
)
iommu/vt-d: Use inline function dma_pte_superpage instead of macros
author
Yijing Wang
<wangyijing@huawei.com>
Tue, 20 May 2014 12:37:51 +0000
(20:37 +0800)
committer
Joerg Roedel
<jroedel@suse.de>
Fri, 4 Jul 2014 09:34:07 +0000
(11:34 +0200)
Use inline function dma_pte_superpage() instead of macro for
better readability.
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/intel-iommu.c
b/drivers/iommu/intel-iommu.c
index 5fee0f983c03afaa2d5485164eaa802444fe146c..219c2c51a3122504e1dd357aa02c5de6f5175246 100644
(file)
--- a/
drivers/iommu/intel-iommu.c
+++ b/
drivers/iommu/intel-iommu.c
@@
-892,7
+892,7
@@
static struct dma_pte *dma_pfn_level_pte(struct dmar_domain *domain,
break;
}
- if (
pte->val & DMA_PTE_LARGE_PAGE
) {
+ if (
dma_pte_superpage(pte)
) {
*large_page = total;
return pte;
}
This page took
0.025699 seconds
and
5
git commands to generate.