patch-2.2.16 linux/drivers/s390/block/mdisk.c

Next file: linux/drivers/s390/block/xpram.c
Previous file: linux/drivers/s390/block/dasd_types.h
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/drivers/s390/block/mdisk.c linux/drivers/s390/block/mdisk.c
@@ -38,6 +38,7 @@
 
 	 /* Added statement HSM 12/03/99 */
 #include <asm/irq.h>
+#include <asm/s390_ext.h>
 
 #define MAJOR_NR MDISK_MAJOR /* force definitions on in blk.h */
 
@@ -637,7 +638,7 @@
  * queues and marks a bottom half.
  *
  */
-void do_mdisk_interrupt(void)
+void do_mdisk_interrupt(struct pt_regs *regs, __u16 code)
 {
         u16 code;
 	mdisk_Dev *dev;
@@ -713,7 +714,7 @@
 		       ,MAJOR_NR);
 		return MAJOR_NR;
 	}
-	
+	register_external_interrupt(0x2603,do_mdisk_interrupt);
 	/*
 	 * setup global major dependend structures
 	 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)