patch-2.1.132 linux/arch/m68k/mvme16x/16xints.c

Next file: linux/arch/ppc/8xx_io/enet.c
Previous file: linux/arch/m68k/mm/fault.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/arch/m68k/mvme16x/16xints.c linux/arch/m68k/mvme16x/16xints.c
@@ -106,9 +106,12 @@
 void mvme16x_process_int (unsigned long vec, struct pt_regs *fp)
 {
 	if (vec < 64 || vec > 255)
-		panic ("mvme16x_process_int: Illegal vector %ld", vec);
-	irq_tab[vec-64].count++;
-	irq_tab[vec-64].handler(vec, irq_tab[vec-64].dev_id, fp);
+		printk ("mvme16x_process_int: Illegal vector %ld", vec);
+	else
+	{
+		irq_tab[vec-64].count++;
+		irq_tab[vec-64].handler(vec, irq_tab[vec-64].dev_id, fp);
+	}
 }
 
 int mvme16x_get_irq_list (char *buf)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov