1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[atheros] enable 2.6.24 to run on ar53xx

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10957 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2008-04-27 17:40:02 +00:00
parent 18aeebfc58
commit a743ead778
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
Index: linux-2.6.24.2/arch/mips/kernel/cevt-r4k.c
===================================================================
--- linux-2.6.24.2.orig/arch/mips/kernel/cevt-r4k.c
+++ linux-2.6.24.2/arch/mips/kernel/cevt-r4k.c
@@ -205,6 +205,7 @@ static int c0_compare_int_usable(void)
while ((int)(read_c0_count() - cnt) <= 0)
; /* Wait for expiry */
+ irq_disable_hazard();
if (!c0_compare_int_pending())
return 0;