Commit 79d61a04 authored by John Crispin's avatar John Crispin Committed by Ralf Baechle

MIPS: Lantiq: Fix cp0_perfcount_irq mapping

The introduction of the OF support broke the cp0_perfcount_irq mapping. This
resulted in oprofile not working anymore.

Offending commit is :

commit 3645da02
Author: John Crispin <>
Date:   Tue Apr 17 10:18:32 2012 +0200

OF: MIPS: lantiq: implement irq_domain support
Signed-off-by: default avatarConor O'Gorman <>
Signed-off-by: default avatarJohn Crispin <>
Patchwork: default avatarRalf Baechle <>
parent 6829aeae
......@@ -408,7 +408,7 @@ int __init icu_of_init(struct device_node *node, struct device_node *parent)
/* tell oprofile which irq to use */
cp0_perfcount_irq = LTQ_PERF_IRQ;
cp0_perfcount_irq = irq_create_mapping(ltq_domain, LTQ_PERF_IRQ);
* if the timer irq is not one of the mips irqs we need to
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment