projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e824f7
)
Initialize domain flags to 0
author
Weidong Han
<weidong.han@intel.com>
Sun, 7 Dec 2008 13:13:41 +0000
(21:13 +0800)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Sat, 3 Jan 2009 13:02:17 +0000
(14:02 +0100)
It's random number after the domain is allocated by kmem_cache_alloc
Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/pci/intel-iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/intel-iommu.c
b/drivers/pci/intel-iommu.c
index 213a5c87fde21180588d6cd86277fd81c013ce83..65aa1d427f43a8853ab9d6bcd0fd219bbb18fbc0 100644
(file)
--- a/
drivers/pci/intel-iommu.c
+++ b/
drivers/pci/intel-iommu.c
@@
-1180,6
+1180,7
@@
static struct dmar_domain * iommu_alloc_domain(struct intel_iommu *iommu)
set_bit(num, iommu->domain_ids);
domain->id = num;
domain->iommu = iommu;
+ domain->flags = 0;
iommu->domains[num] = domain;
spin_unlock_irqrestore(&iommu->lock, flags);