]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ppc64: PPC64 irq return fix
authorAndrew Morton <akpm@digeo.com>
Sun, 25 May 2003 08:08:22 +0000 (01:08 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 25 May 2003 08:08:22 +0000 (01:08 -0700)
PPC64 irq return fix

arch/ppc64/kernel/xics.c

index 58dcf98950787ada1abb74f77b3834e548e66666..74b304da1bd44d09ad632e332daeeede003af91f 100644 (file)
@@ -322,11 +322,9 @@ extern struct xics_ipi_struct xics_ipi_message[NR_CPUS] __cacheline_aligned;
 irqreturn_t xics_ipi_action(int irq, void *dev_id, struct pt_regs *regs)
 {
        int cpu = smp_processor_id();
-       int handled = 0;
 
        ops->qirr_info(cpu, 0xff);
        while (xics_ipi_message[cpu].value) {
-               handled = 1;
                if (test_and_clear_bit(PPC_MSG_CALL_FUNCTION,
                                       &xics_ipi_message[cpu].value)) {
                        mb();
@@ -352,7 +350,7 @@ irqreturn_t xics_ipi_action(int irq, void *dev_id, struct pt_regs *regs)
                }
 #endif
        }
-       return IRQ_RETVAL(handled);
+       return IRQ_HANDLED;
 }
 
 void xics_cause_IPI(int cpu)