aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
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
commit3e2f215c02fba8404459c8821ddb69cb4a0a572a (patch)
tree533c9423b6ef63171a36506d8443668c131abd6e /target/linux/ar71xx/files/arch
parent2e64f11f6812aac01529f07f332aedd78484a30c (diff)
downloadupstream-3e2f215c02fba8404459c8821ddb69cb4a0a572a.tar.gz
upstream-3e2f215c02fba8404459c8821ddb69cb4a0a572a.tar.bz2
upstream-3e2f215c02fba8404459c8821ddb69cb4a0a572a.zip
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 13d25c43fd..3a91e00aad 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: