- bump atheros to .26
[openwrt/svn-archive/archive.git] / target / linux / atheros / patches-2.6.25 / 900-cevt_r4k_irq_disable_hazard.patch
1 Index: linux-2.6.25.4/arch/mips/kernel/cevt-r4k.c
2 ===================================================================
3 --- linux-2.6.25.4.orig/arch/mips/kernel/cevt-r4k.c
4 +++ linux-2.6.25.4/arch/mips/kernel/cevt-r4k.c
5 @@ -205,6 +205,7 @@ static int c0_compare_int_usable(void)
6 while ((int)(read_c0_count() - cnt) <= 0)
7 ; /* Wait for expiry */
8
9 + irq_disable_hazard();
10 if (!c0_compare_int_pending())
11 return 0;
12