Hi, This patch fixes waste of interrupt vector pool by not allocating an interrupt vector to a GSI which has no corresponding IO SAPIC. Tested on NEC TX7 and BigSur. Thanks, --- Takayoshi Kochi <kochi@hpc.bs1.fc.nec.co.jp> --- linux/arch/ia64/kernel/iosapic.c.orig Tue Apr 15 19:41:22 2003 +++ linux/arch/ia64/kernel/iosapic.c Tue Apr 15 19:39:19 2003 @@ -709,6 +709,9 @@ vector = gsi_to_vector(gsi); if (vector < 0) { + if (find_iosapic(gsi) < 0) + continue; + /* allocate a vector for this interrupt line */ if (pcat_compat && (gsi < 16)) vector = isa_irq_to_vector(gsi);Received on Tue Apr 15 03:59:55 2003
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:13 EST