diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-03-11 18:48:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-03-11 18:48:57 +0000 |
commit | 0849a208ceec8623774c48a652f9c99ce3a5e472 (patch) | |
tree | 39a1ffeb12c3f64fece42077e9bbdb5f0237802c /target/linux/ar71xx | |
parent | 2d305bdc2338b3295d6338a0215ce4cf7bb027f8 (diff) | |
download | upstream-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.c | 2 | ||||
-rw-r--r-- | target/linux/ar71xx/patches-2.6.33/300-mips_fw_myloader.patch | 2 |
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/ |