Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48455
b: refs/heads/master
c: 00edefa
h: refs/heads/master
i:
  48453: 28e543f
  48451: 231e34c
  48447: d434946
v: v3
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Feb 13, 2007
1 parent 400d5c0 commit 9f484eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: ffb6017563aa15f9a8cff9a30b861d42c2695894
refs/heads/master: 00edefae050c2c2d1e26fa9984f8f529fbc45989
4 changes: 2 additions & 2 deletions trunk/arch/x86_64/kernel/pci-gart.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ static void iommu_full(struct device *dev, size_t size, int dir)
static inline int need_iommu(struct device *dev, unsigned long addr, size_t size)
{
u64 mask = *dev->dma_mask;
int high = addr + size >= mask;
int high = addr + size > mask;
int mmu = high;
if (force_iommu)
mmu = 1;
Expand All @@ -195,7 +195,7 @@ static inline int need_iommu(struct device *dev, unsigned long addr, size_t size
static inline int nonforced_iommu(struct device *dev, unsigned long addr, size_t size)
{
u64 mask = *dev->dma_mask;
int high = addr + size >= mask;
int high = addr + size > mask;
int mmu = high;
return mmu;
}
Expand Down

0 comments on commit 9f484eb

Please sign in to comment.