aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
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
parent2d305bdc2338b3295d6338a0215ce4cf7bb027f8 (diff)
downloadupstream-0849a208ceec8623774c48a652f9c99ce3a5e472.tar.gz
upstream-0849a208ceec8623774c48a652f9c99ce3a5e472.tar.bz2
upstream-0849a208ceec8623774c48a652f9c99ce3a5e472.zip
ar71xx: fix oprofile support
SVN-Revision: 20150
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/irq.c2
-rw-r--r--target/linux/ar71xx/patches-2.6.33/300-mips_fw_myloader.patch2
2 files changed, 3 insertions, 1 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:
diff --git a/target/linux/ar71xx/patches-2.6.33/300-mips_fw_myloader.patch b/target/linux/ar71xx/patches-2.6.33/300-mips_fw_myloader.patch
index 0d8f132dd0..48d0de83aa 100644
--- a/target/linux/ar71xx/patches-2.6.33/300-mips_fw_myloader.patch
+++ b/target/linux/ar71xx/patches-2.6.33/300-mips_fw_myloader.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
-@@ -188,6 +188,7 @@ endif
+@@ -190,6 +190,7 @@ endif
#
libs-$(CONFIG_ARC) += arch/mips/fw/arc/
libs-$(CONFIG_CFE) += arch/mips/fw/cfe/