Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205512
b: refs/heads/master
c: c513b67
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Aug 6, 2010
1 parent 797a678 commit 7f01581
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 90c8327cad5d7c2d5d7d3e761d17af1925474107
refs/heads/master: c513b67e68787eceafeede32bcd0edbee45c0006
8 changes: 4 additions & 4 deletions trunk/drivers/pci/intr_remapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ int modify_irte(int irq, struct irte *irte_modified)
index = irq_iommu->irte_index + irq_iommu->sub_handle;
irte = &iommu->ir_table->base[index];

set_64bit((unsigned long *)&irte->low, irte_modified->low);
set_64bit((unsigned long *)&irte->high, irte_modified->high);
set_64bit(&irte->low, irte_modified->low);
set_64bit(&irte->high, irte_modified->high);
__iommu_flush_cache(iommu, irte, sizeof(*irte));

rc = qi_flush_iec(iommu, index, 0);
Expand Down Expand Up @@ -393,8 +393,8 @@ static int clear_entries(struct irq_2_iommu *irq_iommu)
end = start + (1 << irq_iommu->irte_mask);

for (entry = start; entry < end; entry++) {
set_64bit((unsigned long *)&entry->low, 0);
set_64bit((unsigned long *)&entry->high, 0);
set_64bit(&entry->low, 0);
set_64bit(&entry->high, 0);
}

return qi_flush_iec(iommu, index, irq_iommu->irte_mask);
Expand Down

0 comments on commit 7f01581

Please sign in to comment.