xen/irq: Cleanup the find_unbound_irq
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 9 Dec 2010 19:53:29 +0000 (14:53 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 9 Dec 2010 21:02:35 +0000 (16:02 -0500)
The "find_unbound_irq" is a bit unusual - it allocates
virtual IRQ (event channels) in reverse order. This means
starting at the "top" of the available IRQs (nr_irqs) down
to the GSI/MSI IRQs (nr_irqs_gsi). Lets document this and
also make the variables easier to understand.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

No differences found