patch-2.3.39 linux/arch/ppc/kernel/irq.c

Next file: linux/arch/ppc/kernel/oak_setup.c
Previous file: linux/arch/ppc/kernel/head_8xx.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/arch/ppc/kernel/irq.c linux/arch/ppc/kernel/irq.c
@@ -294,11 +294,10 @@
 	}
 }
 
-asmlinkage void do_IRQ(struct pt_regs *regs, int isfake)
+asmlinkage int do_IRQ(struct pt_regs *regs, int isfake)
 {
 	int cpu = smp_processor_id();
 	int irq;
-
         hardirq_enter( cpu );
 
 	/* every arch is required to have a get_irq -- Cort */
@@ -320,9 +319,8 @@
 
  out:	
         hardirq_exit( cpu );
+	return 1; /* lets ret_from_int know we can do checks */
 }
-
-
 
 unsigned long probe_irq_on (void)
 {

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