MIPS: sead3: Corrected get_c0_perfcount_int
authorNiklas Cassel <niklas.cassel@axis.com>
Fri, 6 Feb 2015 16:18:29 +0000 (17:18 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 20 Feb 2015 22:53:09 +0000 (23:53 +0100)
Commit e9de688dac65 ("irqchip: mips-gic: Support local interrupts")
updated several platforms. This is a copy paste error.

Signed-off-by: Niklas Cassel <niklass@axis.com>
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9245/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mti-sead3/sead3-time.c

index ec1dd2491f962da8103e616b3c91b3758e0ddcc9..e1d69895fb1de44f5d8503027f86ebb50f40d5a6 100644 (file)
@@ -72,7 +72,7 @@ void read_persistent_clock(struct timespec *ts)
 int get_c0_perfcount_int(void)
 {
        if (gic_present)
-               return gic_get_c0_compare_int();
+               return gic_get_c0_perfcount_int();
        if (cp0_perfcount_irq >= 0)
                return MIPS_CPU_IRQ_BASE + cp0_perfcount_irq;
        return -1;