Subject: [PATCH] ppc32: fix perf_irq extern on e500

From: Matt Porter <[email-masked]>
Date: Mon, 7 Nov 2005 12:49:17 -0700

Add an extern reference to perf_irq on e500.

Signed-off-by: Matt Porter <[email-masked]>

diff --git a/arch/ppc/kernel/traps.c b/arch/ppc/kernel/traps.c
index 16adde6..ff1bdc2 100644
--- a/arch/ppc/kernel/traps.c
+++ b/arch/ppc/kernel/traps.c
@@ -888,6 +888,8 @@ void altivec_assist_exception(struct pt_
 #endif /* CONFIG_ALTIVEC */
 
 #ifdef CONFIG_E500
+extern perf_irq_t perf_irq;
+
 void performance_monitor_exception(struct pt_regs *regs)
 {
 	perf_irq(regs);