aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/irq.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-06-30 01:15:53 -0400
committerPaul Mackerras <paulus@samba.org>2005-06-30 01:15:53 -0400
commit74889802a1585af4e1652f0cb853ac22a65816a4 (patch)
tree4edf4b33345b2a986a52d67d1b47137f399eef8c /arch/ppc64/kernel/irq.c
parent937b31b114b5540f456ce1566aae67e02db41f2c (diff)
[PATCH] ppc64: Don't count number of events processed for caller
Currently we count the number of lpevents processed in 3 seperate places. One of these counters is never read, so just remove it. This means hvlpevent_queue_process() no longer needs to return the number of events processed. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/irq.c')
-rw-r--r--arch/ppc64/kernel/irq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/irq.c b/arch/ppc64/kernel/irq.c
index bd4b035af622..e79420bb72a5 100644
--- a/arch/ppc64/kernel/irq.c
+++ b/arch/ppc64/kernel/irq.c
@@ -66,7 +66,6 @@ EXPORT_SYMBOL(irq_desc);
66int distribute_irqs = 1; 66int distribute_irqs = 1;
67int __irq_offset_value; 67int __irq_offset_value;
68int ppc_spurious_interrupts; 68int ppc_spurious_interrupts;
69unsigned long lpevent_count;
70u64 ppc64_interrupt_controller; 69u64 ppc64_interrupt_controller;
71 70
72int show_interrupts(struct seq_file *p, void *v) 71int show_interrupts(struct seq_file *p, void *v)
@@ -295,7 +294,7 @@ void do_IRQ(struct pt_regs *regs)
295 } 294 }
296#endif /* CONFIG_SMP */ 295#endif /* CONFIG_SMP */
297 if (hvlpevent_is_pending()) 296 if (hvlpevent_is_pending())
298 lpevent_count += process_hvlpevents(regs); 297 process_hvlpevents(regs);
299 298
300 irq_exit(); 299 irq_exit();
301 300