X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fatheros%2Fpatches-2.6.26%2F900-cevt_r4k_irq_disable_hazard.patch;fp=target%2Flinux%2Fatheros%2Fpatches-2.6.26%2F900-cevt_r4k_irq_disable_hazard.patch;h=f60325ee2f70a2c4f695770ffb79722cd355371b;hb=94203f952499befca4717748da4c8293ade59916;hp=0000000000000000000000000000000000000000;hpb=7067633ae894daa10db5f3eff6aa7a4fc5d17523;p=openwrt-10.03%2F.git diff --git a/target/linux/atheros/patches-2.6.26/900-cevt_r4k_irq_disable_hazard.patch b/target/linux/atheros/patches-2.6.26/900-cevt_r4k_irq_disable_hazard.patch new file mode 100644 index 000000000..f60325ee2 --- /dev/null +++ b/target/linux/atheros/patches-2.6.26/900-cevt_r4k_irq_disable_hazard.patch @@ -0,0 +1,10 @@ +--- a/arch/mips/kernel/cevt-r4k.c ++++ b/arch/mips/kernel/cevt-r4k.c +@@ -205,6 +205,7 @@ + while ((int)(read_c0_count() - cnt) <= 0) + ; /* Wait for expiry */ + ++ irq_disable_hazard(); + if (!c0_compare_int_pending()) + return 0; +