Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252966
b: refs/heads/master
c: cb452a4
h: refs/heads/master
v: v3
  • Loading branch information
Mike Travis authored and David Woodhouse committed Jun 1, 2011
1 parent 207fecc commit 0e9dbf1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8fcc5372fbac085199d84a880503ed67aba3fe49
refs/heads/master: cb452a4040bb051d92e85d6e7eb60c11734c1781
6 changes: 3 additions & 3 deletions trunk/drivers/pci/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2235,10 +2235,10 @@ static int identity_mapping(struct pci_dev *pdev)
if (likely(!iommu_identity_mapping))
return 0;

info = pdev->dev.archdata.iommu;
if (info && info != DUMMY_DEVICE_DOMAIN_INFO)
return (info->domain == si_domain);

list_for_each_entry(info, &si_domain->devices, link)
if (info->dev == pdev)
return 1;
return 0;
}

Expand Down

0 comments on commit 0e9dbf1

Please sign in to comment.