summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch/mips
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-11 18:48:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-11 18:48:57 +0000
commit0849a208ceec8623774c48a652f9c99ce3a5e472 (patch)
tree39a1ffeb12c3f64fece42077e9bbdb5f0237802c /target/linux/ar71xx/files/arch/mips
parent2d305bdc2338b3295d6338a0215ce4cf7bb027f8 (diff)
downloadmtk-20170518-0849a208ceec8623774c48a652f9c99ce3a5e472.zip
mtk-20170518-0849a208ceec8623774c48a652f9c99ce3a5e472.tar.gz
mtk-20170518-0849a208ceec8623774c48a652f9c99ce3a5e472.tar.bz2
ar71xx: fix oprofile support
SVN-Revision: 20150
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c b/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c
index 13d25c4..3a91e00 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c
@@ -405,6 +405,8 @@ void __init arch_init_irq(void)
ar71xx_misc_irq_init();
+ cp0_perfcount_irq = AR71XX_MISC_IRQ_PERFC;
+
switch (ar71xx_soc) {
case AR71XX_SOC_AR7130:
case AR71XX_SOC_AR7141: