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
commita80b9af0cdef8c74c5613ee4c51ec246b2b26ecc (patch)
tree82f2c670c6d228f0edb85864bfcd18c2fccac20b /target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch
parentcfb88ec980634107c8d021544a242afc771fc360 (diff)
downloadupstream-a80b9af0cdef8c74c5613ee4c51ec246b2b26ecc.tar.gz
upstream-a80b9af0cdef8c74c5613ee4c51ec246b2b26ecc.tar.bz2
upstream-a80b9af0cdef8c74c5613ee4c51ec246b2b26ecc.zip
ar71xx: refresh patches
SVN-Revision: 22803
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;