his patch mainly fixes the huge delay when we ping from the RDC device to another...
[openwrt.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
This page took 0.060842 seconds and 5 git commands to generate.