Re: [Patch V4 12/42] x86, ioapic: kill static variable nr_irqs_gsi

Thomas Gleixner
2014-06-09T23:22:45Z

On Mon, 9 Jun 2014, Jiang Liu wrote:
> unsigned int arch_dynirq_lower_bound(unsigned int from)
> {
> - return from < nr_irqs_gsi ? nr_irqs_gsi : from;
> + unsigned int min = gsi_top + NR_IRQS_LEGACY;

Why is this gsi_top + NR_IRQ_LEGACY? The legacy interrupts are part of
the gsi space, aren't they?

Thanks,

tglx