diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/mti-sead3/sead3-time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mti-sead3/sead3-time.c b/arch/mips/mti-sead3/sead3-time.c index ec1dd2491f96..e1d69895fb1d 100644 --- a/arch/mips/mti-sead3/sead3-time.c +++ b/arch/mips/mti-sead3/sead3-time.c | |||
@@ -72,7 +72,7 @@ void read_persistent_clock(struct timespec *ts) | |||
72 | int get_c0_perfcount_int(void) | 72 | int get_c0_perfcount_int(void) |
73 | { | 73 | { |
74 | if (gic_present) | 74 | if (gic_present) |
75 | return gic_get_c0_compare_int(); | 75 | return gic_get_c0_perfcount_int(); |
76 | if (cp0_perfcount_irq >= 0) | 76 | if (cp0_perfcount_irq >= 0) |
77 | return MIPS_CPU_IRQ_BASE + cp0_perfcount_irq; | 77 | return MIPS_CPU_IRQ_BASE + cp0_perfcount_irq; |
78 | return -1; | 78 | return -1; |