Skip to contentSkip to conversation

MIPS: sead3: Corrected get_c0_perfcount_int

PATCH In review Niklas Cassel 2 participants 2 messages Feb 6, 2015 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: sead3: Corrected get_c0_perfcount_int

Commit e9de688dac65 ("irqchip: mips-gic: Support local interrupts") updated several platforms. This is a copy paste error.

---
 arch/mips/mti-sead3/sead3-time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/mti-sead3/sead3-time.c +1 -1
index ec1dd24..e1d6989 100644
@@ -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;
Signature · 1 line
2.1.4