summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-25 19:57:11 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-25 19:57:11 +0000
commit155c111782969950bf13f2bcbd459368c8c73e48 (patch)
treeb846da9664c9e42358c5397eee0bd1c30c07f78a /target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch
parent8c95b46cccc1ce5e446eb43315f7093901030fe0 (diff)
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 595a40b2a..aa21d7bb7 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;