X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a6f330452b814518443677c156ddf19f10d4c573..b91f24824772c446534e8b296dec1a0baada6b1d:/target/linux/ar71xx/patches-2.6.35/901-get_c0_compare_irq_function.patch 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 #include #include @@ -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;