mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-02 12:18:07 +02:00
7331aafb13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11016 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
422 B
Diff
13 lines
422 B
Diff
Index: linux-2.6.25.1/arch/mips/kernel/cevt-r4k.c
|
|
===================================================================
|
|
--- linux-2.6.25.1.orig/arch/mips/kernel/cevt-r4k.c
|
|
+++ linux-2.6.25.1/arch/mips/kernel/cevt-r4k.c
|
|
@@ -205,6 +205,7 @@ static int c0_compare_int_usable(void)
|
|
while ((int)(read_c0_count() - cnt) <= 0)
|
|
; /* Wait for expiry */
|
|
|
|
+ irq_disable_hazard();
|
|
if (!c0_compare_int_pending())
|
|
return 0;
|
|
|