kernel_optimize_test/arch/ia64/hp/sim
Kenji Kaneshige 3b5cc09033 [IA64] assign_irq_vector() should not panic
Current assign_irq_vector() will panic if interrupt vectors is running
out. But I think how to handle the case of lack of interrupt vectors
should be handled by the caller of this function. For example, some
PCI devices can raise the interrupt signal via both MSI and I/O
APIC. So even if the driver for these device fails to allocate a
vector for MSI, the driver still has a chance to use I/O APIC based
interrupt. But currently there is no chance for these driver to use
I/O APIC based interrupt because kernel will panic when
assign_irq_vector() fails to allocate interrupt vector.

The following patch changes assign_irq_vector() for ia64 to return
-ENOSPC on error instead of panic (as i386 and x86_64 versions do).

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2005-07-11 10:30:07 -07:00
..
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim_console.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim_irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim_machvec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim_ssc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
simeth.c [IA64] assign_irq_vector() should not panic 2005-07-11 10:30:07 -07:00
simscsi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
simserial.c [IA64] assign_irq_vector() should not panic 2005-07-11 10:30:07 -07:00