Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44923c9c authored by Niklas Cassel's avatar Niklas Cassel Committed by Ralf Baechle
Browse files

MIPS: sead3: Corrected get_c0_perfcount_int



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

Signed-off-by: default avatarNiklas Cassel <niklass@axis.com>
Reviewed-by: default avatarAndrew Bresticker <abrestic@chromium.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9245/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 8fc5ec70
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;