summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/irq.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-07-06 23:56:00 +0200
committerRalf Baechle <ralf@linux-mips.org>2012-07-06 23:56:00 +0200
commitc6a4ebb9ae30ead7684bce623955f74b17df496d (patch)
tree992e6ada977446489b2b4e0ab4f20120f0070e6c /arch/mips/include/asm/irq.h
parentb876c1a0bcfe68a5eaf03f325cb2a09822bf11f2 (diff)
downloadlinux-c6a4ebb9ae30ead7684bce623955f74b17df496d.tar.bz2
MIPS: Provide a symbol for the legacy performance counter interrupt.
Based on https://patchwork.linux-mips.org/patch/3576 - but this really deserves its own patchset and the symbol should also be used :) Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/irq.h')
-rw-r--r--arch/mips/include/asm/irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/irq.h b/arch/mips/include/asm/irq.h
index fb698dc09bc9..78dbb8a86da2 100644
--- a/arch/mips/include/asm/irq.h
+++ b/arch/mips/include/asm/irq.h
@@ -136,6 +136,7 @@ extern void free_irqno(unsigned int irq);
* IE7. Since R2 their number has to be read from the c0_intctl register.
*/
#define CP0_LEGACY_COMPARE_IRQ 7
+#define CP0_LEGACY_PERFCNT_IRQ 7
extern int cp0_compare_irq;
extern int cp0_compare_irq_shift;