mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-20 12:18:58 +00:00
MIPS: sead3: Corrected get_c0_perfcount_int
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>
This commit is contained in:
parent
8fc5ec7044
commit
44923c9cfa
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user