diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-03-22 18:22:37 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-03-29 11:38:15 +0300 |
commit | fde65dd3d3096e8f6ecc7bbe544eb91f4220772c (patch) | |
tree | 8ca05a6157fe2473a646f5e27a4585b4ca562aeb /net/unix/af_unix.c | |
parent | ea6166f4b83e9cfba1c18f46a764d50045682fe5 (diff) | |
download | linux-fde65dd3d3096e8f6ecc7bbe544eb91f4220772c.tar.xz |
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 <bigeasy@linutronix.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions