[kirkwood] Iomega iConnect Wireless platform support
[openwrt.git] / target / linux / ar71xx / patches-2.6.35 / 901-get_c0_compare_irq_function.patch
index 595a40b..aa21d7b 100644 (file)
@@ -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;
This page took 0.022142 seconds and 4 git commands to generate.