diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2018-03-22 15:22:37 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2018-03-29 08:38:15 +0000 |
| commit | fde65dd3d3096e8f6ecc7bbe544eb91f4220772c (patch) | |
| tree | 8ca05a6157fe2473a646f5e27a4585b4ca562aeb /fs/proc/array.c | |
| parent | iommu/amd: Split irq_lookup_table out of the amd_iommu_devtable_lock (diff) | |
| download | kernel-fde65dd3d3096e8f6ecc7bbe544eb91f4220772c.tar.gz kernel-fde65dd3d3096e8f6ecc7bbe544eb91f4220772c.zip | |
iommu/amd: Remove the special case from alloc_irq_table()
alloc_irq_table() has a special ioapic argument. If set then it will
pre-allocate / reserve the first 32 indexes. The argument is only once
true and it would make alloc_irq_table() a little simpler if we would
extract the special bits to the caller.
The caller of irq_remapping_alloc() is holding irq_domain_mutex so the
initialization of iommu->irte_ops->set_allocated() should not race
against other user.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
