]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/mips/lantiq/irq.c
MIPS: Lantiq: Fix cp0_perfcount_irq mapping
[linux-beck.git] / arch / mips / lantiq / irq.c
index f36acd1b38086d341458d927c4c4db99d3a40e0f..a7935bf0fecbf789299a2547abb7b0b2e8677e2b 100644 (file)
@@ -408,7 +408,7 @@ int __init icu_of_init(struct device_node *node, struct device_node *parent)
 #endif
 
        /* 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