X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/c5d266aa2a7762741af4353b6e8852e4a9fb9dae..6983aacd37e799b035732187aab6896f46f57a60:/target/linux/ifxmips/patches-2.6.33/000-mips-bad-intctl.patch diff --git a/target/linux/ifxmips/patches-2.6.33/000-mips-bad-intctl.patch b/target/linux/ifxmips/patches-2.6.33/000-mips-bad-intctl.patch index efecbf1f7..7c0f52db0 100644 --- a/target/linux/ifxmips/patches-2.6.33/000-mips-bad-intctl.patch +++ b/target/linux/ifxmips/patches-2.6.33/000-mips-bad-intctl.patch @@ -1,8 +1,6 @@ -Index: linux-2.6.33.2/arch/mips/kernel/traps.c -=================================================================== ---- linux-2.6.33.2.orig/arch/mips/kernel/traps.c 2010-04-02 01:02:33.000000000 +0200 -+++ linux-2.6.33.2/arch/mips/kernel/traps.c 2010-04-02 23:36:16.000000000 +0200 -@@ -1496,7 +1496,18 @@ +--- a/arch/mips/kernel/traps.c ++++ b/arch/mips/kernel/traps.c +@@ -1496,7 +1496,18 @@ 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; @@ -21,11 +19,9 @@ Index: linux-2.6.33.2/arch/mips/kernel/traps.c if (cp0_perfcount_irq == cp0_compare_irq) cp0_perfcount_irq = -1; } else { -Index: linux-2.6.33.2/arch/mips/include/asm/irq.h -=================================================================== ---- linux-2.6.33.2.orig/arch/mips/include/asm/irq.h 2010-04-02 01:02:33.000000000 +0200 -+++ linux-2.6.33.2/arch/mips/include/asm/irq.h 2010-04-02 23:37:14.000000000 +0200 -@@ -133,9 +133,11 @@ +--- a/arch/mips/include/asm/irq.h ++++ b/arch/mips/include/asm/irq.h +@@ -133,9 +133,11 @@ extern void free_irqno(unsigned int irq) * IE7. Since R2 their number has to be read from the c0_intctl register. */ #define CP0_LEGACY_COMPARE_IRQ 7