[kernel] refresh 2.6.26 patches
[openwrt.git] / target / linux / atheros / patches-2.6.26 / 900-cevt_r4k_irq_disable_hazard.patch
1 --- a/arch/mips/kernel/cevt-r4k.c
2 +++ b/arch/mips/kernel/cevt-r4k.c
3 @@ -205,6 +205,7 @@ static int c0_compare_int_usable(void)
4         while ((int)(read_c0_count() - cnt) <= 0)
5                 ;       /* Wait for expiry  */
6  
7 +       irq_disable_hazard();
8         if (!c0_compare_int_pending())
9                 return 0;
10