1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-12 07:53:39 +03:00
openwrt-xburst/target/linux/atheros/patches-2.6.26/900-cevt_r4k_irq_disable_hazard.patch
matteo 94203f9524 atheros: 2.6.26 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-27 21:42:36 +00:00

11 lines
234 B
Diff

--- 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;