patch-2.1.81 linux/drivers/isdn/hisax/elsa.c

Next file: linux/drivers/isdn/hisax/ix1_micro.c
Previous file: linux/drivers/isdn/hisax/avm_a1.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.80/linux/drivers/isdn/hisax/elsa.c linux/drivers/isdn/hisax/elsa.c
@@ -1180,7 +1180,7 @@
 	int ret, irq_cnt, cnt = 3;
 	long flags;
 
-	irq_cnt = kstat.interrupts[sp->irq];
+	irq_cnt = kstat_irqs(sp->irq);
 	printk(KERN_INFO "Elsa: IRQ %d count %d\n", sp->irq, irq_cnt);
 	ret = get_irq(sp->cardnr, &elsa_interrupt);
 #ifdef CONFIG_HISAX_ELSA_PCC
@@ -1213,8 +1213,8 @@
 		}
 #endif
 		printk(KERN_INFO "Elsa: IRQ %d count %d\n", sp->irq,
-		       kstat.interrupts[sp->irq]);
-		if (kstat.interrupts[sp->irq] == irq_cnt) {
+		       kstat_irqs(sp->irq));
+		if (kstat_irqs(sp->irq) == irq_cnt) {
 			printk(KERN_WARNING
 			       "Elsa: IRQ(%d) getting no interrupts during init %d\n",
 			       sp->irq, 4 - cnt);

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