Skip to content

Commit

Permalink
MIPS: sead3: Corrected get_c0_perfcount_int
Browse files Browse the repository at this point in the history
Commit e9de688 ("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>
  • Loading branch information
Niklas Cassel authored and Ralf Baechle committed Feb 20, 2015
1 parent 8fc5ec7 commit 44923c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/mti-sead3/sead3-time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 44923c9

Please sign in to comment.