diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-11 18:48:57 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-11 18:48:57 +0000 |
commit | 6a4d2815833bd72679f7ac36f562b3eb12e0fc98 (patch) | |
tree | 533c9423b6ef63171a36506d8443668c131abd6e /target/linux/ar71xx | |
parent | 2c8b7a1910d9c6031172b9a8498ef1ea129ea6f0 (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')
-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 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: 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 0d8f132dd..48d0de83a 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/ |