adds watchdog driver to ar5315
[openwrt/svn-archive/archive.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 @@
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