patch-2.2.16 linux/arch/s390/kernel/irq.c

Next file: linux/arch/s390/kernel/irqextras390.c
Previous file: linux/arch/s390/kernel/head.S
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/arch/s390/kernel/irq.c linux/arch/s390/kernel/irq.c
@@ -372,7 +372,7 @@
 	if ( ioinfo[irq] == INVALID_STORAGE_AREA )
 		return( -ENODEV);
 
-	action = ioinfo[irq]->irq_desc.action;
+	action = (struct irqaction *) ioinfo[irq]->irq_desc.action;
 
 	if (action)
 	{
@@ -401,7 +401,7 @@
 {
 }
 
-unsigned long __init init_IRQ(unsigned long memory)
+__initfunc(unsigned long init_IRQ( unsigned long memory))
 {
 	return s390_init_IRQ( memory);
 }
@@ -420,5 +420,6 @@
                  void          *dev_id)
 {
 	return( s390_request_irq( irq, handler, irqflags, devname, dev_id ) );
+
 }
 

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