diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-10-19 10:18:20 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2025-10-21 08:47:33 +0200 |
| commit | 27d2afa3b4eab5fb2a03b6ad8b74a3a700e92dce (patch) | |
| tree | ac53012e428a52a8bceb08dd7235f3fbc1b12798 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | 211ddde0823f1442e4ad052a2f30f050145ccada (diff) | |
x86/ioapic: Simplify mp_irqdomain_alloc() slightly
The IRQ return value of irq_find_mapping() is only tested
for existence, not used for anything else.
So, this call can be replaced by a slightly simpler
irq_resolve_mapping() call, which reduces generated
code size a bit (x86-64 allmodconfig):
text data bss dec hex filename
82142 38633 18048 138823 21e47 arch/x86/kernel/apic/io_apic.o.before
81932 38633 18048 138613 21d75 arch/x86/kernel/apic/io_apic.o.after
[ mingo: Fixed & simplified the changelog ]
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: kernel-janitors@vger.kernel.org
Link: https://patch.msgid.link/cb3a4968538637aac3a5ae4f5ecc4f5eb43376ea.1760861877.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
