aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-08-25 19:57:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-08-25 19:57:11 +0000
commite20b541885bfe2c3f7b202cb856f0d85df7bba5a (patch)
treeb846da9664c9e42358c5397eee0bd1c30c07f78a /target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch
parentab4d50054b704a56c10c23ff92f96960ffa75d55 (diff)
downloadmaster-187ad058-e20b541885bfe2c3f7b202cb856f0d85df7bba5a.tar.gz
master-187ad058-e20b541885bfe2c3f7b202cb856f0d85df7bba5a.tar.bz2
master-187ad058-e20b541885bfe2c3f7b202cb856f0d85df7bba5a.zip
ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22803 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch')
-rw-r--r--target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch b/target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch
index 595a40b2a9..aa21d7bb7a 100644
--- a/target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch
+++ b/target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
-@@ -51,6 +51,7 @@
+@@ -52,6 +52,7 @@
#include <asm/stacktrace.h>
#include <asm/irq.h>
#include <asm/uasm.h>
@@ -8,7 +8,7 @@
extern void check_wait(void);
extern asmlinkage void r4k_wait(void);
-@@ -1501,6 +1502,8 @@ void __cpuinit per_cpu_trap_init(void)
+@@ -1519,6 +1520,8 @@ void __cpuinit per_cpu_trap_init(void)
if (cpu_has_mips_r2) {
cp0_compare_irq_shift = CAUSEB_TI - CAUSEB_IP;
cp0_compare_irq = (read_c0_intctl() >> INTCTLB_IPTI) & 7;