2008-07-28 05:42:36 +08:00
|
|
|
--- a/arch/mips/kernel/cevt-r4k.c
|
|
|
|
+++ b/arch/mips/kernel/cevt-r4k.c
|
2008-11-07 04:55:33 +08:00
|
|
|
@@ -205,6 +205,7 @@ static int c0_compare_int_usable(void)
|
2008-07-28 05:42:36 +08:00
|
|
|
while ((int)(read_c0_count() - cnt) <= 0)
|
|
|
|
; /* Wait for expiry */
|
|
|
|
|
|
|
|
+ irq_disable_hazard();
|
|
|
|
if (!c0_compare_int_pending())
|
|
|
|
return 0;
|
|
|
|
|