Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373560
b: refs/heads/master
c: 197887f
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel committed Apr 18, 2013
1 parent 5900b7e commit e6499a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0dfedd619442f3a64de4fcd8a735664d18e86ee7
refs/heads/master: 197887f03daecdb3ae21bafeb4155412abad3497
3 changes: 3 additions & 0 deletions trunk/drivers/iommu/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3930,6 +3930,9 @@ static struct irq_remap_table *get_irq_table(u16 devid, bool ioapic)
if (!table)
goto out;

/* Initialize table spin-lock */
spin_lock_init(&table->lock);

if (ioapic)
/* Keep the first 32 indexes free for IOAPIC interrupts */
table->min_index = 32;
Expand Down

0 comments on commit e6499a9

Please sign in to comment.