]> git.karo-electronics.de Git - mv-sheeva.git/commit
xen: Fix find_unbound_irq in presence of ioapic irqs.
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 14 May 2010 11:41:20 +0000 (12:41 +0100)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 22 Jul 2010 23:46:30 +0000 (16:46 -0700)
commit99ad198c4978036bb9f7ebd11618b225b77046da
treed236698e6980dc8909aeb0cbdfbc8d84b2abbef8
parent016b6f5fe8398b0291cece60b749d7c930a2e09c
xen: Fix find_unbound_irq in presence of ioapic irqs.

Don't break the assumption that the first 16 irqs are ISA irqs;
make sure that the irq is actually free before using it.

Use dynamic_irq_init_keep_chip_data instead of
dynamic_irq_init so that chip_data is not NULL (a NULL chip_data breaks
setup_vector_irq).

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/events.c