diff options
Diffstat (limited to 'arch/mips/ath79/setup.c')
-rw-r--r-- | arch/mips/ath79/setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c index 64807a4809d0..a73c93c3d44a 100644 --- a/arch/mips/ath79/setup.c +++ b/arch/mips/ath79/setup.c | |||
@@ -182,6 +182,11 @@ const char *get_system_type(void) | |||
182 | return ath79_sys_type; | 182 | return ath79_sys_type; |
183 | } | 183 | } |
184 | 184 | ||
185 | int get_c0_perfcount_int(void) | ||
186 | { | ||
187 | return ATH79_MISC_IRQ(5); | ||
188 | } | ||
189 | |||
185 | unsigned int get_c0_compare_int(void) | 190 | unsigned int get_c0_compare_int(void) |
186 | { | 191 | { |
187 | return CP0_LEGACY_COMPARE_IRQ; | 192 | return CP0_LEGACY_COMPARE_IRQ; |