summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-11 18:48:57 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-11 18:48:57 +0000
commit6a4d2815833bd72679f7ac36f562b3eb12e0fc98 (patch)
tree533c9423b6ef63171a36506d8443668c131abd6e /target/linux/ar71xx/files/arch
parent2c8b7a1910d9c6031172b9a8498ef1ea129ea6f0 (diff)
ar71xx: fix oprofile support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20150 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-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 13d25c43f..3a91e00aa 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: