2008-05-19 07:16:54 +00:00
|
|
|
Index: linux-2.6.25.4/arch/mips/kernel/cevt-r4k.c
|
2008-05-03 05:43:29 +00:00
|
|
|
===================================================================
|
2008-05-19 07:16:54 +00:00
|
|
|
--- linux-2.6.25.4.orig/arch/mips/kernel/cevt-r4k.c
|
|
|
|
+++ linux-2.6.25.4/arch/mips/kernel/cevt-r4k.c
|
2008-05-03 05:43:29 +00:00
|
|
|
@@ -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;
|
|
|
|
|