Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125623
b: refs/heads/master
c: 0cfd7aa
h: refs/heads/master
i:
  125621: 4301a81
  125619: d8ae37b
  125615: 5cf5466
v: v3
  • Loading branch information
Joerg Roedel committed Jan 3, 2009
1 parent 82f5276 commit dc4306a
Show file tree
Hide file tree
Showing 3 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: ab896722867602eb0e836717e8b857ad513800d8
refs/heads/master: 0cfd7aa90be83a4d278810d231f9ef03f189b4f0
2 changes: 1 addition & 1 deletion trunk/arch/x86/include/asm/amd_iommu_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ struct amd_iommu {
bool int_enabled;

/* if one, we need to send a completion wait command */
int need_sync;
bool need_sync;

/* default dma_ops domain for that IOMMU */
struct dma_ops_domain *default_dom;
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static int iommu_queue_command(struct amd_iommu *iommu, struct iommu_cmd *cmd)
spin_lock_irqsave(&iommu->lock, flags);
ret = __iommu_queue_command(iommu, cmd);
if (!ret)
iommu->need_sync = 1;
iommu->need_sync = true;
spin_unlock_irqrestore(&iommu->lock, flags);

return ret;
Expand Down Expand Up @@ -263,7 +263,7 @@ static int iommu_completion_wait(struct amd_iommu *iommu)

ret = __iommu_completion_wait(iommu);

iommu->need_sync = 0;
iommu->need_sync = false;

if (ret)
goto out;
Expand Down

0 comments on commit dc4306a

Please sign in to comment.