mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-04 20:25:20 +02:00
11 lines
234 B
Diff
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;
|
||
|
|