Skip to content

Commit 44923c9

Browse files
Niklas Casselralfbaechle
authored andcommitted
MIPS: sead3: Corrected get_c0_perfcount_int
Commit e9de688 ("irqchip: mips-gic: Support local interrupts") updated several platforms. This is a copy paste error. Signed-off-by: Niklas Cassel <[email protected]> Reviewed-by: Andrew Bresticker <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/9245/ Signed-off-by: Ralf Baechle <[email protected]>
1 parent 8fc5ec7 commit 44923c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/mti-sead3/sead3-time.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void read_persistent_clock(struct timespec *ts)
7272
int get_c0_perfcount_int(void)
7373
{
7474
if (gic_present)
75-
return gic_get_c0_compare_int();
75+
return gic_get_c0_perfcount_int();
7676
if (cp0_perfcount_irq >= 0)
7777
return MIPS_CPU_IRQ_BASE + cp0_perfcount_irq;
7878
return -1;

0 commit comments

Comments
 (0)