Message ID | 20250315010033.2917197-1-dmukhin@ford.com (mailing list archive) |
---|---|
Headers | show |
Series | x86/irq: cleanup use of open-coded values | expand |
On 15/03/2025 1:00 am, dmkhn@proton.me wrote: > Remove uses of open-coded value 16 in x86's interrupt management code > to enhance readability. > > Patch 0 makes a cosmetic rename NR_ISAIRQS -> NR_ISA_IRQS as per > code review [1]. > > Patch 1 makes use of NR_ISA_IRQS in the code where necessary. > > Patch 2 adds new symbol APIC_VECTOR_VALID and makes use of it. > > No functional changes. > > [1]: https://lore.kernel.org/xen-devel/20250314011528.2608217-1-dmukhin@ford.com/ > > Denis Mukhin (3): > x86/irq: rename NR_ISAIRQS to NR_ISA_IRQS > x86/irq: use NR_ISA_IRQS instead of open-coded value > x86/irq: introduce APIC_VECTOR_VALID I've taken patches 1 and 2, and confirmed that 2 has no compiled delta in it. I'm on the fence over 3, for similar reasons to Jan. ~Andrew