[PATCH] ppc32: fix perf_irq extern on e500
Matt Porter
mporter at kernel.crashing.org
Tue Nov 8 06:49:17 EST 2005
Add an extern reference to perf_irq on e500.
Signed-off-by: Matt Porter <mporter at kernel.crashing.org>
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);
More information about the Linuxppc-embedded
mailing list